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
A basic example is located here.