MCPcopy Create free account
hub / github.com/Thunder-Compute/thunder-cli / Capitalize

Function Capitalize

utils/common.go:5–10  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

3import "strings"
4
5func Capitalize(s string) string {
6 if len(s) == 0 {
7 return s
8 }
9 return strings.ToUpper(s[:1]) + s[1:]
10}
11
12// FormatGPUType converts internal GPU type codes to user-facing display names
13func FormatGPUType(gpuType string) string {

Callers 3

renderTableMethod · 0.92
ViewMethod · 0.92
ViewMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected