MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / Parse

Function Parse

service/permit-type/type.go:62–68  ·  view source on GitHub ↗
(v string)

Source from the content-addressed store, hash-verified

60 return tags[p]
61}
62func Parse(v string) PermitType {
63 p, has := indexMap[strings.ToLower(v)]
64 if has {
65 return p
66 }
67 return Invalid
68}

Callers 1

TargetOfFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected