(output io.Writer)
| 124 | } |
| 125 | |
| 126 | func (pd *ParallelDownload) SetOutput(output io.Writer) *ParallelDownload { |
| 127 | if output != nil { |
| 128 | pd.output = output |
| 129 | } |
| 130 | return pd |
| 131 | } |
| 132 | |
| 133 | func (pd *ParallelDownload) SetOutputFile(filename string) *ParallelDownload { |
| 134 | pd.filename = filename |