Restructuring into packages.
This commit is contained in:
parent
4963e3ca71
commit
335d573d23
28 changed files with 2232 additions and 2108 deletions
8
models/database.go
Normal file
8
models/database.go
Normal file
|
@ -0,0 +1,8 @@
|
|||
package models
|
||||
|
||||
import "github.com/thermokarst/bactdb/Godeps/_workspace/src/github.com/jmoiron/modl"
|
||||
|
||||
var (
|
||||
DB = &modl.DbMap{Dialect: modl.PostgresDialect{}}
|
||||
DBH modl.SqlExecutor = DB
|
||||
)
|
Reference in a new issue