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

Method String

model/plugin_model/type.go:150–162  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

148}
149
150func (s *Status) String() string {
151 switch *s {
152 case Enable:
153 return "enable"
154 case Global:
155 return "global"
156 case Disable:
157 return "disable"
158 default:
159 return "unknown"
160 }
161
162}
163
164func ParseStatus(string2 string) Status {
165 switch string2 {

Callers 1

MarshalJSONMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected