fmt.Printf(`SELECT * from '%v'` + strings.Replace(whereQuery, "?", "'%v'", -1) + ` OFFSET %v`, param...)
newbuf := dbr.NewBuffer()
stmt.Build(dialect.MySQL, newbuf)
fmt.Println(newbuf.String())
fmt.Println(newbuf.Value())