MCPcopy Create free account
hub / github.com/1Panel-dev/1Panel / replaceStr

Function replaceStr

core/middleware/operation.go:355–360  ·  view source on GitHub ↗
(val string, rep ...string)

Source from the content-addressed store, hash-verified

353}
354
355func replaceStr(val string, rep ...string) string {
356 for _, item := range rep {
357 val = strings.ReplaceAll(val, item, "")
358 }
359 return val
360}
361
362func parseMultipart(formData []byte, contentType string) (map[string]interface{}, error) {
363 d, params, err := mime.ParseMediaType(contentType)

Callers 1

loadLogInfoFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected