Documentation ¶ Index ¶ func Expand(s string) (string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Expand ¶ func Expand(s string) (string, error) Expand is an improved version of os.ExpandEnv, that not only expand enrionment variable ($GOPATH/src/github.com/...) but also expands "~" as the home directory. Types ¶ This section is empty. Source Files ¶ View all Source files osext.go Click to show internal directories. Click to hide internal directories.