mirror of
https://github.com/MontFerret/ferret.git
synced 2025-07-03 00:46:51 +02:00
make core.Functions a struct
This commit is contained in:
@ -3,7 +3,7 @@ package utils
|
||||
import "github.com/MontFerret/ferret/pkg/runtime/core"
|
||||
|
||||
func RegisterLib(ns core.Namespace) error {
|
||||
return ns.RegisterFunctions(core.Functions{
|
||||
return ns.RegisterFunctions(core.FunctionsMap{
|
||||
"WAIT": Wait,
|
||||
"PRINT": Print,
|
||||
})
|
||||
|
Reference in New Issue
Block a user