| skipped 125 lines |
126 | 126 | | if !r.Result.Printed(o) { |
127 | 127 | | r.OutWg.Add(1) |
128 | 128 | | |
129 | | - | go writeOutput(r.OutWg, &r.Options, &r.Result, o) |
| 129 | + | go writeOutput(r.OutWg, &r.Options, o) |
130 | 130 | | } |
131 | 131 | | } |
132 | 132 | | } |
133 | 133 | | |
134 | | - | func writeOutput(wg *sync.WaitGroup, options *input.Options, out *output.Result, o string) { |
| 134 | + | func writeOutput(wg *sync.WaitGroup, options *input.Options, o string) { |
135 | 135 | | defer wg.Done() |
136 | 136 | | |
137 | 137 | | if options.FileOutput != "" && options.Output == nil { |
| skipped 12 lines |
150 | 150 | | } |
151 | 151 | | |
152 | 152 | | fmt.Println(o) |
153 | | - | |
154 | 153 | | } |
155 | 154 | | |