package util import "strings" func Title(s string) string { if len(s) == 0 { return s } return strings.ToUpper(s[:1]) + s[1:] } func Untitle(s string) string { if len(s) == 0 { return s } return strings.ToLower(s[:1]) + s[1:] }