Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
age
A simple, modern and secure encryption tool (and Go library) with small explicit keys, no config options, and UNIX-style composability.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
More details : https://github.com/spf13/viper
Tho, its also very common to use flags as they add documentation. You can use a mix of both. Maybe something in the lines of https://github.com/peterbourgon/ff
if the secret should be versioned and shared and that passes the security requirements i have a good experience with: https://github.com/mozilla/sops and https://github.com/FiloSottile/age
if the secret should be versioned and shared and that passes the security requirements i have a good experience with: https://github.com/mozilla/sops and https://github.com/FiloSottile/age
I use this: https://github.com/alexflint/go-arg and setting defaults for my local environment. So no need to keep a .env file.