go字符串的几种拼接方式:
1、fmt.Sprintf
s := fmt.Sprintf("%s%s%s", s1, s2, s3)
2、+运算符拼接
s := s1 + s2 + s3
3、strings.Join
s := strings.Join([]string{s1, s2, s3}, "")
4、strings.Builderbuilder := strings.Builder{}
builder.WriteString(s1)
builder.WriteString(s2)
builder.WriteString(s3)
s := builder.String()
5、bytes.Buffer
buffer := bytes.Buffer{}
buffer.WriteString(s1)
buffer.WriteString(s2)
buffer.WriteString(s3)
s := buffer.String()