postfixWith appends postfix to every element in the slice.
(postfix string, values []string)
| 129 | |
| 130 | // postfixWith appends postfix to every element in the slice. |
| 131 | func postfixWith(postfix string, values []string) []string { |
| 132 | result := make([]string, len(values)) |
| 133 | for i, v := range values { |
| 134 | result[i] = v + postfix |
| 135 | } |
| 136 | return result |
| 137 | } |
| 138 | |
| 139 | // eventTypeNames provides a list of all event types. |
| 140 | // The list is derived from eventTypes. |
no outgoing calls
no test coverage detected
searching dependent graphs…