Versions in this module Expand all Collapse all v1 v1.0.0 May 11, 2019 Changes in this version + type Connection interface + Beginx func() (Tx, error) + Close func() error + DSN func() string + SQL func() *sql.DB + type Queryable interface + Exec func(query string, arg ...interface{}) (rowsAffected int64, err error) + Get func(dest interface{}, query string, args ...interface{}) error + NamedExec func(query string, arg interface{}) (rowAffected int64, err error) + NamedGet func(dest interface{}, query string, args interface{}) error + NamedSelect func(dest interface{}, query string, args interface{}) error + Select func(dest interface{}, query string, args ...interface{}) error + type Tx interface + Commit func() error + Rollback func() error