package restutility import ( "strings" ) func SQLProtect(in string) string { patern := "\"';&*<>=\\`:" for _, c := range patern { in = strings.Replace(in, string(c), "", -1) } return in }