feat: data-driven.

This commit is contained in:
徐聪
2021-12-29 15:59:10 +08:00
parent 11ea588ee2
commit 6e9c55e93d

View File

@@ -250,15 +250,6 @@ func mergeVariables(variables, overriddenVariables map[string]interface{}) map[s
return mergedVariables
}
func contains(s []string, e string) bool {
for _, a := range s {
if strings.EqualFold(a, e) {
return true
}
}
return false
}
// callFunc call function with arguments
// only support return at most one result value
func callFunc(funcName string, arguments ...interface{}) (interface{}, error) {