Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Process ¶
func Process(spec interface{}) error
Process takes a spec and a list of files. The list of files is in **reverse** order of precedence, meaning that a value in the first file can be overridden by any subsequent file.
Example: Process(mySpec, "/etc/myapp.json", "/usr/local/etc/myapp.json", "/home/me/.myapp.json") values in /home/me/.myapp.json will override any values set in /etc/myapp.json
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.