15 lines
235 B
Go
15 lines
235 B
Go
package hw06pipelineexecution
|
|
|
|
type (
|
|
In = <-chan interface{}
|
|
Out = In
|
|
Bi = chan interface{}
|
|
)
|
|
|
|
type Stage func(in In) (out Out)
|
|
|
|
func ExecutePipeline(in In, done In, stages ...Stage) Out {
|
|
// Place your code here.
|
|
return nil
|
|
}
|