Go-Back-Skeleton/vendor/github.com/go-pg/pg/db_no_context.go
2017-09-25 20:20:52 +02:00

19 lines
370 B
Go

// +build !go1.7
package pg
import (
"github.com/go-pg/pg/internal/pool"
"github.com/go-pg/pg/orm"
)
// DB is a database handle representing a pool of zero or more
// underlying connections. It's safe for concurrent use by multiple
// goroutines.
type DB struct {
opt *Options
pool pool.Pooler
fmter orm.Formatter
queryProcessedHooks []queryProcessedHook
}