Skip to content
Pipelines using goroutines
Branch: master
Clone or download
Latest commit 4e49541 Aug 31, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples gofmt Apr 25, 2018
.gitignore Pipelines implemented per Apr 25, 2018
.travis.yml Update .travis.yml Apr 29, 2018
LICENSE Create LICENSE Apr 25, 2018 Add badges Aug 31, 2018
example_test.go Tests and examples Apr 29, 2018
pipeline.go Tests and examples Apr 29, 2018
pipeline_test.go Tests and examples Apr 29, 2018

GoDoc Build Status Go Report Card


This package provides a simplistic implementation of Go pipelines as outlined in Go Concurrency Patterns: Pipelines and cancellation.


GoDoc available here.

Example Usage

import ""

p := pipeline.New()
p.AddStageWithFanOut(myStage, 10)
p.AddStageWithFanOut(anotherStage, 100)
doneChan := p.Run(inChan)

<- doneChan

More comprehensive examples can be found here.

You can’t perform that action at this time.