Rune is a superset of ASCII or it is an alias of int32. It holds all the characters available in the world’s writing system, including accents and other diacritical marks, control codes like tab and carriage return, and assigns each one a standard number. This standard number is known as a Unicode code point or rune in the Go language.
You are allowed to map a rune to the specified case with the help of To() function. This function changes the case of the given rune into lower case, or upper case, or title case according to your requirement. If the given rune is already present in the specified case, then this function does nothing. This function is defined under Unicode package, so for accessing this method you need to import the Unicode package in your program.
func To(_case int, r rune) rune
Result 1: G Result 2: E
Result 1: e Result 2: K Result 3: S