MCPcopy Create free account
hub / github.com/celer-pkg/celer / UpperFirst

Function UpperFirst

pkgs/expr/expr.go:43–45  ·  view source on GitHub ↗
(text string)

Source from the content-addressed store, hash-verified

41}
42
43func UpperFirst(text string) string {
44 return strings.ToUpper(text[:1]) + strings.ToLower(text[1:])
45}
46
47// GetMinorVersion convert a version string to its major.minor part
48// (e.g. "5.11.13" -> "5.11", "1.11" -> "1.11").

Callers 1

cmakeSystemNameMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected