github.com/MontFerret/ferret@v0.18.0/pkg/stdlib/utils/lib.go (about) 1 package utils 2 3 import "github.com/MontFerret/ferret/pkg/runtime/core" 4 5 func RegisterLib(ns core.Namespace) error { 6 return ns.RegisterFunctions( 7 core.NewFunctionsFromMap(map[string]core.Function{ 8 "WAIT": Wait, 9 "PRINT": Print, 10 }), 11 ) 12 }