strings.FirstUpper

将以下英文翻译为中文:

strings.FirstUpper

https://gohugo.io/functions/strings.firstupper/

Capitalizes the first character of a given string.

语法

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