Versions in this module Expand all Collapse all v1 v1.0.0 May 8, 2017 Changes in this version + func Wrap(driver driver.Driver, hooks Hooks) driver.Driver + type Conn struct + Conn driver.Conn + func (conn *Conn) Begin() (driver.Tx, error) + func (conn *Conn) Close() error + func (conn *Conn) Prepare(query string) (driver.Stmt, error) + func (conn *Conn) PrepareContext(ctx context.Context, query string) (driver.Stmt, error) + type Driver struct + func (drv *Driver) Open(name string) (driver.Conn, error) + type Hook func(ctx context.Context, query string, args ...interface{}) (context.Context, error) + type Hooks interface + After func(ctx context.Context, query string, args ...interface{}) (context.Context, error) + Before func(ctx context.Context, query string, args ...interface{}) (context.Context, error) + type Stmt struct + Stmt driver.Stmt + func (stmt *Stmt) Close() error + func (stmt *Stmt) Exec(args []driver.Value) (driver.Result, error) + func (stmt *Stmt) ExecContext(ctx context.Context, args []driver.NamedValue) (driver.Result, error) + func (stmt *Stmt) NumInput() int + func (stmt *Stmt) Query(args []driver.Value) (driver.Rows, error) + func (stmt *Stmt) QueryContext(ctx context.Context, args []driver.NamedValue) (driver.Rows, error)