I think that the documentation of strings.Builder could be improved by adding a few sentences that compare it to bytes.Buffer. More exactly, I'd like to see:
- a pointer to
bytes.Buffer;
- a list of the methods that
strings.Builder is lacking as compared to bytes.Buffer.
I think that the documentation of
strings.Buildercould be improved by adding a few sentences that compare it tobytes.Buffer. More exactly, I'd like to see:bytes.Buffer;strings.Builderis lacking as compared tobytes.Buffer.