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