Adapt to new module structure with base and core modules

This commit is contained in:
Daniel
2019-08-09 16:46:37 +02:00
parent 856b69829f
commit 4b2ff39246
7 changed files with 35 additions and 92 deletions

11
core/core.go Normal file
View File

@@ -0,0 +1,11 @@
package core
import "github.com/safing/portbase/modules"
var (
coreModule = modules.Register("core", nil, startCore, nil, "base", "database", "config", "api", "random")
)
func startCore() error {
return registerDatabases()
}