Categorygithub.com/mxschmitt/golang-env-struct
modulepackage
0.0.0-20181017075525-0c54aeca8397
Repository: https://github.com/mxschmitt/golang-env-struct.git
Documentation: pkg.go.dev

# README

Golang Environment Struct Variable Applier

GoDoc

This package does apply if set the environment variable by a given name from the struct tag to the given struct. It also can handle nested structs

Example

A basic example is located here.

# Packages

No description provided by the author

# Functions

ApplyEnvVars overrides the values in the given struct recursively by the represent environment variable which is given in the struct tag 'env'.