1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-19 13:19:43 +02:00

removed old API

This commit is contained in:
Harvey Kandola 2017-08-02 15:26:31 +01:00
parent e284a46f86
commit 562872a4a8
105 changed files with 337 additions and 14496 deletions

View file

@ -15,8 +15,6 @@ package main
import (
"fmt"
"github.com/documize/community/core/api"
"github.com/documize/community/core/api/request"
"github.com/documize/community/core/env"
"github.com/documize/community/domain"
"github.com/documize/community/domain/section"
@ -61,12 +59,8 @@ func main() {
// runtime.Log = runtime.Log.SetDB(runtime.Db)
}
// temp code repair
api.Runtime = rt
request.Db = rt.Db
// Register smart sections
section.Register(rt)
section.Register(&rt, &s)
ready := make(chan struct{}, 1) // channel signals router ready
server.Start(&rt, &s, ready)