How to Efficiently Concatenate Strings in Go
If you are using a version of Go >= 1.10, then you should be using the newer strings.Builder
pattern as follows:
For older version, you should be looking to use the bytes.Buffer
instead:
If you are using a version of Go >= 1.10, then you should be using the newer strings.Builder
pattern as follows:
For older version, you should be looking to use the bytes.Buffer
instead: