package hasaki_{{.app_name}} import ( "fmt" "log" "testing" "git.ouxuan.net/hasaki-service/hasaki-sdk/hskconfig" "git.ouxuan.net/hasaki-service/hasaki-sdk/hskdb" ) var branch interface{} = "branch_brand_63" var api *Api func init() { hskconfig.NotFlag() hskconfig.SetGolbalConfigFileName("E:\test.json") hskdb.IsAsyncToXormSync2 = false api = NewApi(hskdb.GetXormAuto(branch)) err := InitDbByConfig(branch) if err != nil { log.Fatalln(err) } } func TestNewApi(t *testing.T) { // TODO: some test case... }