An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 8.2% on proxy.golang.org

proxy.golang.org : github.com/fvbommel/common-iface

common-iface is a small utility that prints out an interface type representing the common interface of the types passed on the command line. For example, suppose you want to parse some data from either memory (contained in a bytes.Reader) or a buffered network connection (bufio.Reader). You want to know what methods will be available, so you run: Or if you want to be able to handle both files and network connections: This can then e.g. be copy-pasted into a source file to define a local interface type (and optionally trimmed down to remove unused methods).

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/fvbommel/common-iface
License: MIT
Latest release: over 6 years ago
First release: over 6 years ago
Namespace: github.com/fvbommel
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: about 2 months ago