go-bytes.Buffer 发表于 2018-09-19 | 分类于 go bytes.Bufferjava StringBuilder1234StringBuilder sb = new StringBuilder();sb.append("hello");sb.append(",world");System.out.println(sb.toString()); go bytes.Buffer1234var bb bytes.Bufferbb.WriteString("[")bb.WriteString("]")fmt.Println(bb.String())