Registry / utility / goware-prefixer

goware-prefixer

JSON →
library0.0.0-20160118172347-395022866408gogounverified

Implements an io.Reader wrapper that prepends every line with a given string.

go get github.com/goware/prefixer
INSTALL
IMPORT
SIG · GOWARE-PREFIXER
G
goware-prefixer
utilitygov0.0.0-20160118172347-395022866408
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.

prefixer
github.com/goware/prefixer

Wrap stdin with a prefix and copy to stdout.

package main import ( "fmt" "io" "os" "github.com/goware/prefixer" ) func main() { reader := prefixer.New(os.Stdin, "prefix: ") io.Copy(os.Stdout, reader) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20160118172347-395022866408latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
goware-prefixer — go get goware-prefixer · libregistry