Fix tests: split core package into core and base

This commit is contained in:
Daniel
2020-05-02 13:24:31 +02:00
parent 3ce67133e4
commit f4b8ad7d7c
10 changed files with 51 additions and 38 deletions

25
core/base/module.go Normal file
View File

@@ -0,0 +1,25 @@
package base
import (
"github.com/safing/portbase/modules"
// module dependencies
_ "github.com/safing/portbase/config"
_ "github.com/safing/portbase/rng"
)
func init() {
modules.Register("base", nil, registerDatabases, nil, "database", "config", "rng")
// For prettier subsystem graph, printed with --print-subsystem-graph
/*
subsystems.Register(
"base",
"Base",
"THE GROUND.",
baseModule,
"",
nil,
)
*/
}