package main import "fmt" func main() { s1 := make([]string,0,0) s1 = append(s1, "帽子","围巾","衣服","裤子","袜子") fmt.Println(s1) // 输出: [1, 2, 3, 4, 5] }