The strings standard Go package allows you to manipulate UTF-8 strings in Go and includes many powerful functions. Most of these functions will be illustrated in the useStrings.go source file, which will be presented in five parts. Note that the functions of the strings package that are related to file input and output will be demonstrated in Chapter 8, Telling a UNIX System What to Do.
The first part of useStrings.go follows:
package main import ( "fmt" s "strings" "unicode" ) var f = fmt.Printf