1
0
mirror of https://github.com/MontFerret/ferret.git synced 2024-12-16 11:37:36 +02:00
ferret/pkg/stdlib/objects/lib.go
3timeslazy 5d0d9ec537 Feature/#10 zip (#113)
* added prototype of ZIP function

* add unit test for ZIP function

* change comment for ZIP function

* added some new tests

* small change in unit tests

* added ZIP function
2018-10-13 14:29:10 -04:00

14 lines
237 B
Go

package objects
import "github.com/MontFerret/ferret/pkg/runtime/core"
func NewLib() map[string]core.Function {
return map[string]core.Function{
"HAS": Has,
"KEYS": Keys,
"KEEP": Keep,
"MERGE": Merge,
"ZIP": Zip,
}
}