Files
mgmt/examples/lang/runtime.mcl
Julien Pivotto 1685ee1ecb lang: funcs: Autogenerated a lot of new functions
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2019-10-30 08:42:53 -04:00

8 lines
206 B
Plaintext

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()),
}