Convert string case:
s := "Hello World"
fmt.Println(strings.ToUpper(s)) // "HELLO WORLD"
fmt.Println(strings.ToLower(s)) // "hello world"
fmt.Println(strings.Title(s)) // "Hello World" (deprecated)
For proper title casing with Unicode, use golang.org/x/text/cases instead of strings.Title. The standard library function doesn't handle all Unicode correctly.