(arr []string, element string)
| 1177 | } |
| 1178 | |
| 1179 | func contains(arr []string, element string) bool { |
| 1180 | for _, e := range arr { |
| 1181 | if e == element { |
| 1182 | return true |
| 1183 | } |
| 1184 | } |
| 1185 | return false |
| 1186 | } |
| 1187 | |
| 1188 | func ExitOnError(err error) { |
| 1189 | if err == nil { |
no outgoing calls
no test coverage detected