Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Assert ¶ added in v0.9.0
func Assert(b bool)
Assert panics if b is false. If compile with -tags release, Assert will be compiled out
func GetConfigDir ¶
GetConfigDir returns the path to the user config dir on the current machine as a string.
If the config dir does not exist, it is created.
If the default location for config directories does not exist, or if there is an error creating the config dir, an error is returned.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.