blob: b440561c6d1ff841835040ef7cf209f0e51a940e [file] [log] [blame]
package lib
import "unicode"
func lowercaseFirstCharacter(s string) string {
for _, r := range s {
return string(unicode.ToLower(r)) + s[1:]
}
return ""
}
func uppercaseFirstCharacter(s string) string {
for _, r := range s {
return string(unicode.ToUpper(r)) + s[1:]
}
return ""
}