(s, d, c string)
| 340 | } |
| 341 | |
| 342 | func (f testFlags) StringList(s, d, c string) *[]*string { |
| 343 | if t, ok := f.stringLists[s]; ok { |
| 344 | // convert slice of strings to slice of string pointers before returning. |
| 345 | tp := make([]*string, len(t)) |
| 346 | for i, v := range t { |
| 347 | tp[i] = &v |
| 348 | } |
| 349 | return &tp |
| 350 | } |
| 351 | return &[]*string{} |
| 352 | } |
| 353 | |
| 354 | func (f testFlags) Parse(func()) []string { |
| 355 | return f.args |
nothing calls this directly
no outgoing calls
no test coverage detected