WithErrorStream sets a custom error stream
(err io.Writer)
| 114 | |
| 115 | // WithErrorStream sets a custom error stream |
| 116 | func WithErrorStream(err io.Writer) Option { |
| 117 | return func(s *composeService) error { |
| 118 | s.errStream = err |
| 119 | return nil |
| 120 | } |
| 121 | } |
| 122 | |
| 123 | // WithInputStream sets a custom input stream |
| 124 | func WithInputStream(in io.Reader) Option { |
nothing calls this directly
no outgoing calls
no test coverage detected