(v string)
| 495 | } |
| 496 | |
| 497 | func trimSliceAndPointerPrefix(v string) string { |
| 498 | v = strings.TrimPrefix(v, "[]") |
| 499 | v = strings.TrimPrefix(v, "*") |
| 500 | return v |
| 501 | } |
| 502 | |
| 503 | func hasPrefixIgnoringSliceAndPointerPrefix(s, prefix string) bool { |
| 504 | trimmedS := trimSliceAndPointerPrefix(s) |
no outgoing calls
no test coverage detected