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

proxy.golang.org : github.com/rwxrob/get

Package get provides simple functions for fetching string data from common sources in the usual ways enabling the location of such data to be passed or set by the end user allowing the user to decide the best location for such data through arguments and such. For example, the following would both be supported without additional logic to detect the URL version: This enables a user to store their secret token more securely as a file rather than passing it as an open argument on the command line depending on their preference. For more details see the String function. This package is primarily for use with textual files. However, some return values may work by simply casting to []byte slice. The exported helper functions (used by String) that access local or remote files also return []byte slices and may be used directly. Most may prefer to cut and paste from this package and "vendor" the code into their own to keep dependencies to a minimum. If so, please maintain some form of the copyright acknowledgement.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/rwxrob/get
License: Apache-2.0
Latest release: almost 2 years ago
First release: almost 2 years ago
Namespace: github.com/rwxrob
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 22 days ago

    Loading...
    Readme
    Loading...