2条回答 默认 最新
- doujiao1981 2017-11-30 10:09关注
fmt.Sprint
will print the string as it is. If you want to format the string, you should usefmt.Sprintf
.
The SO community can be very harsh on beginners, if people do not like what you have written or how you worded the question you will get down voted. Don't fool yourself thinking people are here to help, they only care for the reputation.
Luckily in
Go
we have pretty good docs. If you ever think something is not working properly, chances are that a glance at the docs website will be enough to get you going.本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报