Lots of progress on command/query bus concept, in memory sql testing, datasource admin
This commit is contained in:
1 parent
27f07e9de2
commit
c7ed348ee8
8 files changed
+170
-52
No files matched your search
+1
-6
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user