go 格式化输出
摘要:直接上代码: package main import "fmt" func main() { // %s s1 := "hello" s2 := []byte("world") fmt.Printf("string: %s, slice: %s\n", s1, s2) // string: hell
阅读全文
posted @ 2023-01-14 14:41
posted @ 2023-01-14 14:41
posted @ 2023-01-04 10:51