1
0
mirror of https://github.com/MontFerret/ferret.git synced 2024-12-21 01:21:34 +02:00
ferret/pkg/stdlib/utils/lib.go

13 lines
246 B
Go
Raw Normal View History

2018-09-18 22:42:38 +02:00
package utils
import "github.com/MontFerret/ferret/pkg/runtime/core"
func RegisterLib(ns core.Namespace) error {
2019-10-15 20:06:48 +02:00
return ns.RegisterFunctions(
core.NewFunctionsFromMap(map[string]core.Function{
"WAIT": Wait,
"PRINT": Print,
}),
)
2018-09-18 22:42:38 +02:00
}