Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CLIConfigReader ¶
func CLIYesOrNoReader ¶
CLIYesOrNoReader reads a yes or no answer from the command line. It prompts the user with the given message and default value, and returns true if the user answers "y" or "Y", and false otherwise. If there is an error while reading the input, it returns false. If the user simply presses enter without providing any input, it returns the default value specified by the `dft` parameter.
func JSONConfigReader ¶
func JSONConfigReader(filePath string) (*config.JSONConfig, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.