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