摘要: %q a single-quoted character literal safely escaped with Go syntax a := "aaa" fmt.Printf("%s", a) // 输出 aaa a := "aaa" fmt.Printf("%q", a) // 输出 "aaa" 阅读全文
posted @ 2022-03-07 13:56 doNotTellU 阅读(2009) 评论(0) 推荐(0) 编辑