MCPcopy Index your code
hub / github.com/1Panel-dev/1Panel / replaceStr

Function replaceStr

core/cmd/server/docs/swagger_test.go:219–225  ·  view source on GitHub ↗
(val string, rep ...string)

Source from the content-addressed store, hash-verified

217}
218
219func replaceStr(val string, rep ...string) string {
220 for _, item := range rep {
221 val = strings.ReplaceAll(val, item, "")
222 }
223 val = strings.TrimSpace(val)
224 return val
225}
226
227type operationJson struct {
228 BodyKeys []string `json:"bodyKeys"`

Callers 1

TestGenerateXlogFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected