MCPcopy Create free account
hub / github.com/OverloadBlitz/cloudcent-cli / normalizeNA

Function normalizeNA

internal/tui/views/pricing.go:760–766  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

758}
759
760func normalizeNA(s string) string {
761 t := strings.TrimSpace(s)
762 if strings.EqualFold(t, "na") || strings.EqualFold(t, "n/a") {
763 return "-"
764 }
765 return s
766}
767
768func normalizePrice(s string) string {
769 t := strings.TrimSpace(s)

Callers 1

ConvertResponseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected