Golang unicode.ToTitle() function example
package unicode
Golang unicode.ToTitle() function usage example.
package main
import (
"fmt"
"unicode"
)
func main() {
TitleCaseRune := unicode.ToTitle('a')
fmt.Printf("%+q\n", TitleCaseRune)
}
Reference :
Advertisement
Something interesting
Tutorials
+20.7k Golang : Saving private and public key to files
+34k Golang : Proper way to set function argument default value
+6.2k Golang : Process non-XML/JSON formatted ASCII text file example
+16.9k Golang : Set up source IP address before making HTTP request
+16.1k Golang : How to check if input from os.Args is integer?
+14.6k Golang : Reset buffer example
+4k Detect if Google Analytics and Developer Media are loaded properly or not
+5.6k Golang : Configure crontab to poll every two minutes 8am to 6pm Monday to Friday
+8.1k Golang : Append and add item in slice
+8.2k Prevent Write failed: Broken pipe problem during ssh session with screen command
+18.4k Golang : Read binary file into memory