Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Look-up hash-table for the `OSName` function. OSNames = map[string]string{ "windows": "Windows", "darwin": "Mac OS X", "linux": "Linux", "freebsd": "FreeBSD", "appengine": "Google App Engine", } )
Functions ¶
func OSName ¶
Returns the human-readable operating system name represented by the specified `goOS` name, by looking up the corresponding entry in `OSNames`.
func UserDataDirPath ¶
func UserHomeDirPath ¶
func UserHomeDirPath() string
Returns the path to the current user's home directory.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.