Versions in this module Expand all Collapse all v1 v1.1.0 Apr 10, 2021 Changes in this version + type DB struct + func (d *DB) Close() error + func (d *DB) Open(maxOpen, maxIdle int) (*sql.DB, error) + type DBMgr struct + func GetDBMgr() *DBMgr + func (dm *DBMgr) Add(name, driver, dsn string) (*DB, error) + func (dm *DBMgr) Del(name string) + func (dm *DBMgr) GetConn(name string) (*sql.DB, error) + func (dm *DBMgr) GetDB(name string) (*DB, error)