Skip to content

Commit

Permalink
Update example
Browse files Browse the repository at this point in the history
  • Loading branch information
night-codes committed Oct 5, 2022
1 parent 0f96967 commit e6744e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ func main() {
easyconfig.YAMLSource{Path: "./config.yaml"},
easyconfig.JSONSource{Path: "./config.json"},
easyconfig.TOMLSource{Path: "./config.toml"},
easyconfig.ednSource{Path: "./config.edn"},
easyconfig.EnvFileSource{Prefix: "APP", Path: "./config.env"},
easyconfig.DirSource{Path: "./k8s-secret"}, // loads configuration from the mounted Secrets or ConfigMap kubernetes directory (file=value)
easyconfig.EnvSource{Prefix: "APP"}, // loads configuration from environment variables
Expand Down

0 comments on commit e6744e1

Please sign in to comment.