strings.FirstUpper

strings.FirstUpper


Returns the given string, capitalizing the first character.

{{ strings.FirstUpper "foo" }} → Foo