1
0
mirror of https://github.com/MontFerret/ferret.git synced 2025-03-21 21:47:43 +02:00

13 lines
284 B
Go
Raw Normal View History

2018-09-18 16:42:38 -04:00
package collections
import "github.com/MontFerret/ferret/pkg/runtime/core"
func RegisterLib(ns core.Namespace) error {
2019-10-15 21:06:48 +03:00
return ns.RegisterFunctions(
core.NewFunctionsFromMap(map[string]core.Function{
"INCLUDES": Includes,
"LENGTH": Length,
"REVERSE": Reverse,
2019-10-15 21:06:48 +03:00
}))
2018-09-18 16:42:38 -04:00
}