Skip to content
Charles
Posts
Tags
About
Archives
Search
Go back
Go Sprintf %%s%
Updated:
7 Feb, 2023
|
Edit page
要用 %%%s%%,不能用 \ 转义。
fmt
.
Sprintf
(
"
%%%s%%
"
,
"
a
"
)
// 最后的效果就是 %a%
Edit page
Back to top
go
Share this post:
Share this post on Whatsapp
Share this post on Facebook
Share this post on X
Share this post on Telegram
Share this post on Pinterest
Share this post via email
Previous Post
Antd 混用 bulma 的坑
Next Post
Python 常见问题