()
| 114 | } |
| 115 | |
| 116 | func functionNames() []string { |
| 117 | names := make([]string, 0, len(funcs)) |
| 118 | for _, f := range funcs { |
| 119 | names = append(names, f.Name().String()) |
| 120 | } |
| 121 | sort.Slice(names, func(i, j int) bool { return names[i] < names[j] }) |
| 122 | return names |
| 123 | } |
| 124 | |
| 125 | // Foreach adds iteration capabilities to the rule language. The decision |
| 126 | // to keep the function implementation outside the functions package is |
no test coverage detected