lang: funcs: core: Allow nested system imports
We were passing the wrong module name for system imports. This is now fixed, includes an example, and some tests!
This commit is contained in:
@@ -21,6 +21,7 @@ import (
|
||||
// import so the funcs register
|
||||
_ "github.com/purpleidea/mgmt/lang/funcs/core/datetime"
|
||||
_ "github.com/purpleidea/mgmt/lang/funcs/core/example"
|
||||
_ "github.com/purpleidea/mgmt/lang/funcs/core/example/nested"
|
||||
_ "github.com/purpleidea/mgmt/lang/funcs/core/fmt"
|
||||
_ "github.com/purpleidea/mgmt/lang/funcs/core/math"
|
||||
_ "github.com/purpleidea/mgmt/lang/funcs/core/os"
|
||||
|
||||
Reference in New Issue
Block a user