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:
@@ -83,7 +83,7 @@ func join(arr interface{}, sep string) (out string, err error) {
|
||||
} else if i, is := arr.([]interface{}); is {
|
||||
// If slice of interfaces, we can try to cast them
|
||||
var aux []string
|
||||
aux, err = CastStringSlice(i)
|
||||
aux, err = CastToStringSlice(i)
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user