chore: Cleanup
This commit is contained in:
1 parent
ed9af2b459
commit
eef7674139
2 files changed
+8
-2
No files matched your search
@@ -12,8 +12,12 @@ type moduleConfig struct {
|
||||
Path string
|
||||
}
|
||||
|
||||
const (
|
||||
kind = "universe:badger"
|
||||
)
|
||||
|
||||
var (
|
||||
Module = um.SimpleModule("universe:badger", func(ctx um.ModuleFactoryContext) error {
|
||||
Module = um.SimpleModule(kind, func(ctx um.ModuleFactoryContext) error {
|
||||
cfg := &moduleConfig{}
|
||||
err := ctx.ExtractConfig(cfg)
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user