WithOutputStream sets a custom output stream
(out io.Writer)
| 106 | |
| 107 | // WithOutputStream sets a custom output stream |
| 108 | func WithOutputStream(out io.Writer) Option { |
| 109 | return func(s *composeService) error { |
| 110 | s.outStream = out |
| 111 | return nil |
| 112 | } |
| 113 | } |
| 114 | |
| 115 | // WithErrorStream sets a custom error stream |
| 116 | func WithErrorStream(err io.Writer) Option { |
nothing calls this directly
no outgoing calls
no test coverage detected