Go Standard Library Cookbook
上QQ阅读APP看书,第一时间看更新

Concatenating a string with writer

Besides the built-in + operator, there are more ways to concatenate the string.  This recipe will describe the more performant way of concatenating strings with the bytes package and the built-in copy function.