How to concatenate strings efficiently in Go

Have you ever wonder if you are concatenating strings efficiently? I did, and so here are the results.

But first, let’s discuss on three ways to concatenate strings.

1. Concatenation using +

foobar := "foo" + "bar"

2. Concatenation using strings.Builder