(opts putOptions)
| 709 | } |
| 710 | |
| 711 | func putOutput(opts putOptions) *output.Renderer { |
| 712 | if opts.output != nil { |
| 713 | return opts.output |
| 714 | } |
| 715 | return output.New(nil, nil, output.FormatText) |
| 716 | } |
| 717 | |
| 718 | func putErrorOutput(opts putOptions) io.Writer { |
| 719 | if opts.errOut != nil { |
no test coverage detected