Fix dependency graph and linter errors

This commit is contained in:
Daniel
2020-04-02 17:09:15 +02:00
parent 180f27307c
commit eec0c37101
23 changed files with 164 additions and 61 deletions

View File

@@ -4,6 +4,11 @@ import (
"github.com/safing/portbase/modules"
)
var (
// Module of this package. Export needed for testing of the endpoints package.
Module *modules.Module
)
func init() {
modules.Register("intel", nil, nil, nil, "geoip")
Module = modules.Register("intel", nil, nil, nil, "geoip")
}