Documentation
¶
Overview ¶
This is a simple example of a command loading configuration depending on the environment e.g. 1: go run ./cmd/main.go --config=qa # it loads configuration from qa.json file e.g. 2: go run ./cmd/main.go --config=dev --host=my.local.host # it loads dev configuration and overrides the 'host' value
Click to show internal directories.
Click to hide internal directories.