lang: funcs: core: Move world API functions
Some of the core functions interact with the remote "world" API. Move them all into the same package.
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
import "world"
|
||||
|
||||
$ns = "estate"
|
||||
$exchanged = kvlookup($ns)
|
||||
$exchanged = world.kvlookup($ns)
|
||||
|
||||
$state = maplookup($exchanged, $hostname, "default")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user