Skip to content

Conversation

@robinknaapen
Copy link

Support env override

Example:

$ env
HTTP_PORT=8080
SERVER_PORT=9000
type S struct {
    Port int `env:"HTTP_PORT;SERVER_PORT"` // will contain 9000
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant