Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadConfig ¶
configOut must be a pointer to a struct containing the configuration fields, which must be exported fields. the struct passed will receive the values either given by prompts, or found in the .yml file. LoadConfig will set up a Loader, which will not be returned. Use NewLoader if you would like access to the Loader. The yml file's name is determined by the projectName parameter, e.g. "~/" + "." + projectName + ".yml" if any of the fields exist on the system as environment variables, they will be loaded as such over the yml config.
Types ¶
Click to show internal directories.
Click to hide internal directories.