Skip to content

Glossary: Data Structures and Algorithms in Go

strings.Builder

Also written: strings.Join, Join

Tools for building text efficiently. `strings.Builder` keeps one growing buffer, and `strings.Join` glues pieces together once, avoiding the repeated copying of `+=`.

Where the book teaches it

Related terms

Immutable