(columns []string, name string)
| 225 | } |
| 226 | |
| 227 | func GetColumnIndex(columns []string, name string) (int, bool) { |
| 228 | for i, c := range columns { |
| 229 | if c == name { |
| 230 | return i, true |
| 231 | } |
| 232 | } |
| 233 | return 0, false |
| 234 | } |
no outgoing calls
no test coverage detected