(s string)
| 3 | import "strings" |
| 4 | |
| 5 | func 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 |
| 13 | func FormatGPUType(gpuType string) string { |
no outgoing calls
no test coverage detected