Lots of progress on command/query bus concept, in memory sql testing, datasource admin

This commit is contained in:
Torkel Ödegaard committed 2014-12-16 21:05:49 +01:00
1 parent 27f07e9de2
commit c7ed348ee8
8 files changed
+170 -52

No files matched your search

+1 -6
View File
@@ -70,12 +70,7 @@ func runWeb(*cli.Context) {
social.NewOAuthService()
sqlstore.Init()
// init database
sqlstore.LoadModelsConfig()
if err := sqlstore.NewEngine(); err != nil {
log.Fatal(4, "fail to initialize orm engine: %v", err)
}
sqlstore.NewEngine()
m := newMacaron()
api.Register(m)