(arr []string, s string)
| 170 | } |
| 171 | |
| 172 | func insert(arr []string, s string) []string { |
| 173 | for _, item := range arr { |
| 174 | if item == s { |
| 175 | return arr |
| 176 | } |
| 177 | } |
| 178 | return append(arr, s) |
| 179 | } |
| 180 | |
| 181 | func insertUser(arr []user.User, s user.User) []user.User { |
| 182 | for _, item := range arr { |
no outgoing calls
no test coverage detected