golang格式化代码

fmt包可以

输出到面板上:

fmt.Printf

不输出到面板仅仅返回字符串

fmt.Sprintf

返回的是字符串

posted @ 2020-02-19 18:22  许伟强  阅读(683)  评论(0编辑  收藏  举报