user

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 29, 2016 License: BSD-2-Clause, MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExpandTilde

func ExpandTilde(p string) (string, error)

ExpandTilde expands a file path beginning with tilde to its HOME path equivalent.

func HomeDir

func HomeDir() (string, error)

HomeDir returns a best guess of the current running user's home directory either by using an existing HOME environment variable or the user's database.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL