package bootstrap import "strings" // FirstUpper 字符串首字母大写 func FirstUpper(s string) string { if s == "" { return "" } return strings.ToUpper(s[:1]) + s[1:] }