Top 4.6% dependent packages on proxy.golang.org
proxy.golang.org : github.com/cespare/argf
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
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/cespare/argf
License: MIT
Latest release: over 3 years ago
First release: over 3 years ago
Namespace: github.com/cespare
Dependent packages: 1
Stars: 2 on GitHub
Forks: 1 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 9 days ago