Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigPath ¶
Return a path relative to the user home config dir
func ExpandHome ¶
Replace ~ with the current user's home dir
func HomeDir ¶
func HomeDir() string
Get the current user home directory (first from the $HOME env var and fallback on calling getpwuid_r() from libc if $HOME is unset).
func RuntimePath ¶
Return a path relative to the user runtime dir
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.