(s string, predicateFunc func(string) predicate.Decision)
| 195 | } |
| 196 | |
| 197 | func decisionPredicatesFromStr(s string, predicateFunc func(string) predicate.Decision) []predicate.Decision { |
| 198 | words := strings.Split(s, ",") |
| 199 | predicates := make([]predicate.Decision, len(words)) |
| 200 | |
| 201 | for i, word := range words { |
| 202 | predicates[i] = predicateFunc(word) |
| 203 | } |
| 204 | |
| 205 | return predicates |
| 206 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…