Open dushaoshuai opened 2 years ago
例如,json.Marshal() 函数中:
json.Marshal()
buf := append([]byte(nil), e.Bytes()...)
再比如,append() 的注释中:
append()
// As a special case, it is legal to append a string to a byte slice, like this: // slice = append([]byte("hello "), "world"...)
例如,
json.Marshal()
函数中:再比如,
append()
的注释中: