package utils import "strings" func EscapeLikeWildcard(s string) string { return strings.NewReplacer( `\`, `\\`, "%", `\%`, "_", `\_`, ).Replace(s) }