ToUpper returns a copy of the byte slice s with all Unicode letters mapped to their upper case.
package main import ( "bytes" "fmt" ) func main() { fmt.Printf("%s", bytes.ToUpper([]byte("Gopher"))) }