3
0

Adds expr functions for KV, KVV, Vars manipulation

- Adds/Refactors methods for Set, Merge, Filter, Delete
- Renames expr/Vars.Merge to MustMerge, updates its usage
- Appends kvFunctions to parser in pkg/expr
- Update/Fixes tests and example testable
This commit is contained in:
Vivek Patel
2021-05-12 06:32:30 +05:30
committed by Denis Arh
parent 28e1774cd2
commit 044d02bb76
14 changed files with 896 additions and 28 deletions
+2
View File
@@ -87,9 +87,11 @@ func AllFunctions() []gval.Language {
//ff = append(ff, GenericFunctions()...)
ff = append(ff, StringFunctions()...)
ff = append(ff, JsonFunctions()...)
ff = append(ff, NumericFunctions()...)
ff = append(ff, TimeFunctions()...)
ff = append(ff, ArrayFunctions()...)
ff = append(ff, KvFunctions()...)
return ff
}