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

proxy.golang.org : github.com/codingconcepts/env : v0.0.0-20200821220118-a8fbf8d84482

Package env makes satisfying factor III of the 12-factor methodology easy, by allowing struct fields to be populated directly from environment variables with the use of struct tags. To use, create a struct tag called "env" and call env.Set, passing a pointer to the struct you wish to populate. You can optionally, provide a "required" tag to determine whether an error should be returned in the event of missing environment configuration. Like the encoding/* packages, env.Set will return an error if a non-pointer type is provided.

Registry - Documentation - Download - JSON
purl: pkg:golang/github.com/codingconcepts/[email protected]
Published:
Indexed:

    Loading...
    Readme
    Loading...