cmd

command
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2020 License: MIT Imports: 5 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL