Golint
This commit is contained in:
parent
a880fdea82
commit
efb0cc13fa
41 changed files with 569 additions and 386 deletions
|
@ -3,6 +3,8 @@ package models
|
|||
import "github.com/thermokarst/bactdb/Godeps/_workspace/src/github.com/jmoiron/modl"
|
||||
|
||||
var (
|
||||
DB = &modl.DbMap{Dialect: modl.PostgresDialect{}}
|
||||
// DB is a sqlx/modl database map.
|
||||
DB = &modl.DbMap{Dialect: modl.PostgresDialect{}}
|
||||
// DBH is a global database handler.
|
||||
DBH modl.SqlExecutor = DB
|
||||
)
|
||||
|
|
Reference in a new issue