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