mirror of
https://github.com/MontFerret/ferret.git
synced 2025-07-05 00:49:00 +02:00
make core.Functions a struct
This commit is contained in:
@ -16,7 +16,7 @@ const (
|
||||
)
|
||||
|
||||
func RegisterLib(ns core.Namespace) error {
|
||||
return ns.RegisterFunctions(core.Functions{
|
||||
return ns.RegisterFunctions(core.FunctionsMap{
|
||||
"ABS": Abs,
|
||||
"ACOS": Acos,
|
||||
"ASIN": Asin,
|
||||
|
Reference in New Issue
Block a user