()
| 349 | } |
| 350 | |
| 351 | func newSpecReader() *SpecReader { |
| 352 | return &SpecReader{ |
| 353 | sourcesMap: make(map[string]*Source), |
| 354 | destinationsMap: make(map[string]*Destination), |
| 355 | transformersMap: make(map[string]*Transformer), |
| 356 | Sources: make([]*Source, 0), |
| 357 | Destinations: make([]*Destination, 0), |
| 358 | Transformers: make([]*Transformer, 0), |
| 359 | sourceWarningsMap: make(map[string]Warnings), |
| 360 | destinationWarningsMap: make(map[string]Warnings), |
| 361 | transformerWarningsMap: make(map[string]Warnings), |
| 362 | } |
| 363 | } |
| 364 | |
| 365 | func (r *SpecReader) initialize(paths []string) error { |
| 366 | for _, path := range paths { |
no outgoing calls
no test coverage detected