ToLower in Go

Posted by GoDoc
Public (Editable by Users)

ToLower maps the rune to lower case.

Go
Edit
package main

import (
	"fmt"
	"unicode"
)

func main() {
	const ucG = 'G'
	fmt.Printf("%#U\n", unicode.ToLower(ucG))
}