The strings Package

The strings standard Go package allows us to manipulate UTF-8 strings in Go and includes many powerful functions. Many of these functions are illustrated in the useStrings.go code file.

Note: If we are working with text and text processing, we definitely need to learn all the gory details and functions of the strings package, so let’s make sure that we experiment with all these functions and create many examples that will help us to clarify things.

Creating global aliases

The most important parts of useStrings.go are the following:

Get hands-on with 1200+ tech skills courses.