Files

16 lines
312 B
Go
Raw Permalink Normal View History

2018-04-25 13:16:36 +02:00
package datamysql
import (
"database/sql"
)
type scanner interface {
Scan(dest ...interface{}) error
}
type executor interface {
Exec(query string, args ...interface{}) (sql.Result, error)
QueryRow(query string, args ...interface{}) *sql.Row
Query(query string, args ...interface{}) (*sql.Rows, error)
}