command
Version:
v1.2.0
Opens a new window with list of versions in this module.
Published: Nov 25, 2018
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Simple to use
This example shows the simplest way to use goconfig.
Try the following commands:
- See the help using the -h parameter
go run main.go -h
- Change parameters via command line
go run main.go -db=true -mongodb_port=9090
- Try to create an environment variable MONGODB_HOST and see how the content of the struct changes
export MONGODB_HOST="myhost.com"
go run main.go
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.