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