conf icon indicating copy to clipboard operation
conf copied to clipboard

Go package for loading program configuration from multiple sources.

Results 6 conf issues
Sort by recently updated
recently updated
newest added

I guess I expected based on the Map abstraction that you could deserialize config into either a map or a struct. One of the first tests I wrote did this:...

We have a config that looks like e.g. ``` type config struct { Version bool `conf:"version" help:"Print the program version and exit."` S3Bucket string `conf:"s3-bucket" help:"The S3 bucket to deliver...

i have useful case - after parsing env or cmdline i need to configure consul and vault source and load conf from it how to do that? before first source...

https://github.com/segmentio/conf/pull/23 was merged, but it didn't get a corresponding documentation update.

At Golab, I was watching the keynote by @ardan-bkennedy where he shared their [Service template](https://github.com/ardanlabs/service). He demonstrated their conf package which works almost exactly like ours: https://github.com/ardanlabs/conf One killer feature...

This was unexpected behavior for me. I imagine it has to do with JSON/yaml parsing support. Perhaps documentation is all that's needed. ```golang package main import ( "fmt" "github.com/segmentio/conf" )...