proxy.golang.org : github.com/cespare/argf : v0.1.0
Package argf provides a simple way of reading line-by-line from either files given as command-line arguments or, if none were given, from stdin. The interface resembles bufio.Scanner. This package provides a convenient way of handling input for command-line utilities. For instance, here is a simple implementation of the Unix utility 'cat': If flags are required, you can call Init(flag.Args()) after flag parsing but before any other argf calls to initialize argf with the non-flag arguments given in the command-line (presumably filenames). Multiple goroutines should not call any of the functions in argf concurrently.
Registry -
Documentation -
Download -
JSON
purl: pkg:golang/github.com/cespare/[email protected]
Published:
Indexed: