1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-19 13:19:43 +02:00
This commit is contained in:
Harvey Kandola 2017-07-21 14:11:57 +01:00
parent 3defc062bd
commit 1f713c11b6

View file

@ -61,8 +61,9 @@ func main() {
api.Runtime = rt
request.Db = rt.Db
// Register smart sections
section.Register(rt)
ready := make(chan struct{}, 1) // channel is used for testing
ready := make(chan struct{}, 1) // channel signals router ready
endpoint.Serve(ready)
}