chore: Cleanup
This commit is contained in:
1 parent
ed9af2b459
commit
eef7674139
2 files changed
+8
-2
No files matched your search
Generated
+3
-1
@@ -1,4 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project version="4">
|
<project version="4">
|
||||||
<component name="VcsDirectoryMappings" defaultProject="true" />
|
<component name="VcsDirectoryMappings">
|
||||||
|
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||||
|
</component>
|
||||||
</project>
|
</project>
|
||||||
@@ -12,8 +12,12 @@ type moduleConfig struct {
|
|||||||
Path string
|
Path string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const (
|
||||||
|
kind = "universe:badger"
|
||||||
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
Module = um.SimpleModule("universe:badger", func(ctx um.ModuleFactoryContext) error {
|
Module = um.SimpleModule(kind, func(ctx um.ModuleFactoryContext) error {
|
||||||
cfg := &moduleConfig{}
|
cfg := &moduleConfig{}
|
||||||
err := ctx.ExtractConfig(cfg)
|
err := ctx.ExtractConfig(cfg)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in new issue
Block a user