ToUpper maps the rune to upper case.
package main import ( "fmt" "unicode" ) func main() { const ucG = 'g' fmt.Printf("%#U\n", unicode.ToUpper(ucG)) }