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:
James Shubin
2019-02-07 12:32:32 -05:00
parent 4eaff892c1
commit 90fa83a5cf
9 changed files with 40 additions and 11 deletions

View File

@@ -1,5 +1,7 @@
import "world"
$ns = "estate"
$exchanged = kvlookup($ns)
$exchanged = world.kvlookup($ns)
$state = maplookup($exchanged, $hostname, "default")