Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
aneshas committed Sep 18, 2022
1 parent 7968699 commit 92fc15f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@

Configuration package inspired by this [talk](https://www.youtube.com/watch?v=PTE4VJIdHPg) / [article](https://peter.bourgon.org/go-for-industrial-programming/) by Peter Bourgon.

# Disclaimer
Since the time of writing this package a user on reddit pointed out that Peter has actually went ahead and implemented the package himself although with slight changes in the original design. You can find his package [here](https://pkg.go.dev/github.com/peterbourgon/ff/v3#section-readme)

This package provides a wrapper of the Go standard library flag package configurable via resolvers e.g., environment variables and config files, on an opt-in basis.

Two resolvers are provided by default `env` for environment variables and `json` for JSON config files. Others resolvers can be implemented.

# Disclaimer
Since the time of writing this package a user on reddit pointed out that Peter has actually went ahead and implemented the package himself although with slight changes in the original design. You can find his package [here](https://pkg.go.dev/github.com/peterbourgon/ff/v3#section-readme)

# Example Usage

As (almost) drop-in replacement for `flag` package:
Expand Down

0 comments on commit 92fc15f

Please sign in to comment.