16 lines
262 B
Go
16 lines
262 B
Go
package hw06_pipeline_execution //nolint:golint,stylecheck
|
|
|
|
type (
|
|
I = interface{}
|
|
In = <-chan I
|
|
Out = In
|
|
Bi = chan I
|
|
)
|
|
|
|
type Stage func(in In) (out Out)
|
|
|
|
func ExecutePipeline(in In, done In, stages ...Stage) Out {
|
|
// Place your code here
|
|
return nil
|
|
}
|