Versions in this module Expand all Collapse all v1 v1.0.1 Mar 4, 2020 v1.0.0 Mar 11, 2019 Changes in this version + var ErrSQLNotFound = errors.New("not found") + func NewConnPool(mysqlDBConf Config) (*sqlx.DB, error) + type Config struct + DbName string + Host string + Password string + Port string + Protocol string + User string + type QueryFilter struct + FilterSQL string + NamedParams map[string]interface{} + type SQLNamedExecuter interface + NamedExecContext func(ctx context.Context, query string, arg interface{}) (sql.Result, error) + type SQLNamedQueryer interface + NamedQueryContext func(ctx context.Context, query string, arg interface{}) (*sqlx.Rows, error)