go标准库之fmt
摘要:go标准库之fmt fmt库 Print系列 1. Print 不换行 2. Println 换行 3. Printf 不换行,可以使用格式化占位符 格式化占位符 |占位符|说明| | : | : : | |通用| | |%v|值的默认格式| |%+v|会输出结构体的字段名| |%#v|值的go语法
阅读全文
posted @ 2023-02-26 17:35
posted @ 2023-02-26 17:35
posted @ 2023-02-26 13:23
posted @ 2023-02-23 11:17