mirror of
https://github.com/MontFerret/ferret.git
synced 2025-11-25 22:01:39 +02:00
make core.Functions a struct
This commit is contained in:
@@ -3,7 +3,7 @@ package strings
|
||||
import "github.com/MontFerret/ferret/pkg/runtime/core"
|
||||
|
||||
func RegisterLib(ns core.Namespace) error {
|
||||
return ns.RegisterFunctions(core.Functions{
|
||||
return ns.RegisterFunctions(core.FunctionsMap{
|
||||
"CONCAT": Concat,
|
||||
"CONCAT_SEPARATOR": ConcatWithSeparator,
|
||||
"CONTAINS": Contains,
|
||||
|
||||
Reference in New Issue
Block a user