Restructuring into packages.

This commit is contained in:
Matthew Dillon 2015-10-01 09:54:21 -07:00
parent 4963e3ca71
commit 335d573d23
28 changed files with 2232 additions and 2108 deletions

8
models/database.go Normal file
View 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
)