This is my code
func QueryMap2(db *sql.DB, query string, args ...interface{}) (error) {
rows, err := db.Query(query, args...)
if err!=nil {
return err
}
....
dblib.QueryMap2(myDB, "select * from user where userid=?", "admin")
This is error message
panic: interface conversion: interface {} is int64, not []uint8
help me