func(string) string
| 3 | import "regexp" |
| 4 | |
| 5 | type QueryModifier func(string) string |
| 6 | |
| 7 | func NewQueryReplacer(regex string, replacement string) QueryModifier { |
| 8 | r := regexp.MustCompile(regex) |
nothing calls this directly
no outgoing calls
no test coverage detected