mirror of
https://github.com/documize/community.git
synced 2025-07-24 07:39:43 +02:00
major package structure refactoring
This commit is contained in:
parent
7b8cec9a6c
commit
cf58f8164d
73 changed files with 549 additions and 389 deletions
|
@ -14,7 +14,7 @@ package main
|
|||
|
||||
import (
|
||||
"github.com/documize/community/core/api/endpoint"
|
||||
"github.com/documize/community/core/environment"
|
||||
"github.com/documize/community/core/env"
|
||||
"github.com/documize/community/core/section"
|
||||
|
||||
_ "github.com/documize/community/embed" // the compressed front-end code and static data
|
||||
|
@ -22,7 +22,7 @@ import (
|
|||
)
|
||||
|
||||
func main() {
|
||||
environment.Parse("db") // process the db value first
|
||||
env.Parse("db") // process the db value first
|
||||
ready := make(chan struct{}, 1) // channel is used for testing
|
||||
|
||||
section.Register()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue