Skip to content
晨越的博客
Posts
Tags
About
Search
Go back
Go Sprintf %%s%
Updated:
Feb 7, 2023
|
at
04:31 AM
要用 %%%s%%,不能用 \ 转义。
fmt
.
Sprintf
(
"
%%%s%%
"
,
"
a
"
)
//
最后的效果就是 %a%
go
Back to Top
Share this post on:
Share this post via WhatsApp
Share this post on Facebook
Tweet this post
Share this post via Telegram
Share this post on Pinterest
Share this post via email