envconfig
📖

envconfig

envconfig is a Go library that automatically populates your application's configuration structs from environment variables, so you can configure any Go app without changing code.