Beispiel #1
0
func setup() {
	_, dbmap = tests.SetupDb()
	logs.InitTables(dbmap)
	dbmap.DropTables()
	dbmap.CreateTables()
}
Beispiel #2
0
func setup() {
	db, dbmap = tests.SetupDb()
	dbmap.AddTableWithName(testStruct{}, "tests").SetKeys(true, "Id")
}