Registry / utility / mattn-go-pipeline

mattn-go-pipeline

JSON →
library0.0.0-20190323144519-32d779b32768gogounverified

A Go library for creating and managing pipelines of commands.

go get github.com/mattn/go-pipeline
INSTALL
IMPORT
SIG · MATTN-GO-PIPELINE
M
mattn-go-pipeline
utilitygov0.0.0-20190323144519-32d779b32768
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

pipeline
github.com/mattn/go-pipeline

Runs a pipeline of commands and captures output.

package main import ( "fmt" "github.com/mattn/go-pipeline" ) func main() { out, err := pipeline.Output( pipeline.Command("echo", "hello"), pipeline.Command("wc", "-c"), ) if err != nil { panic(err) } fmt.Println(string(out)) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20190323144519-32d779b32768latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
mattn-go-pipeline — go get mattn-go-pipeline · libregistry