lang: funcs: Autogenerated a lot of new functions
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
This commit is contained in:
committed by
James Shubin
parent
9b4d11f220
commit
1685ee1ecb
7
examples/lang/runtime.mcl
Normal file
7
examples/lang/runtime.mcl
Normal file
@@ -0,0 +1,7 @@
|
||||
import "golang/runtime"
|
||||
import "fmt"
|
||||
|
||||
file "/tmp/mgmtinfo" {
|
||||
state => "exists",
|
||||
content => fmt.printf("Hi from mgmt! mgmt is running with %s; and GOROOT is %s.\n", runtime.version(), runtime.goroot()),
|
||||
}
|
||||
Reference in New Issue
Block a user