MCPcopy Index your code
hub / github.com/NdoleStudio/httpsms / sanitizeSIM

Method sanitizeSIM

api/pkg/requests/request.go:70–75  ·  view source on GitHub ↗
(value string)

Source from the content-addressed store, hash-verified

68}
69
70func (input *request) sanitizeSIM(value string) string {
71 if value == entities.SIM1.String() || value == entities.SIM2.String() {
72 return value
73 }
74 return entities.SIM1.String()
75}
76
77func (input *request) sanitizeURL(value string) string {
78 value = strings.TrimSpace(value)

Callers 3

SanitizeMethod · 0.80
SanitizeMethod · 0.80
SanitizeMethod · 0.80

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected