lang: core: util: Add hostname mapper function

This adds a new util package with some useful functionality which could
be implemented as pure mcl, but instead we add it here as a good place
to help with code reuse.
This commit is contained in:
James Shubin
2024-11-05 14:06:52 -05:00
parent 3fb492f6aa
commit be7a5399e3
4 changed files with 158 additions and 0 deletions

View File

@@ -55,6 +55,7 @@ import (
_ "github.com/purpleidea/mgmt/lang/core/strings"
_ "github.com/purpleidea/mgmt/lang/core/sys"
_ "github.com/purpleidea/mgmt/lang/core/test"
_ "github.com/purpleidea/mgmt/lang/core/util"
_ "github.com/purpleidea/mgmt/lang/core/value"
_ "github.com/purpleidea/mgmt/lang/core/world"
)