Documentation ¶ Index ¶ func SetEnvs(iface interface{}) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func SetEnvs ¶ func SetEnvs(iface interface{}) error SetEnvs sets field values for the provided struct passed in based on environment variables. Fields are mapped to environment variables using the `env` struct tag. Non-tagged fields are skipped. Types ¶ This section is empty. Source Files ¶ View all Source files env.go Click to show internal directories. Click to hide internal directories.