type Config struct {
MaxOpenConns int32// MaxIdleConns applies to standard SQL pools; it is not used by the PostgreSQL pool. MaxIdleConns int32 ConnMaxLifetime time.Duration ConnMaxIdleTime time.Duration}
type DB struct {
*sql.DB// contains filtered or unexported fields
}
DB owns a SQL handle and its underlying connection pool.
Pass DB.DB to integrations that require *sql.DB, and close the owning DB
to release all resources.