func stripQuery(q string) (s string) {
	return strings.TrimSpace(re.ReplaceAllString(q, " "))
}
strip out new lines and trim spaces
package sqlmock
import (
	"regexp"
	"strings"
)
var re = regexp.MustCompile("\\s+")