Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChangeGoPath ¶
ChangeGoPath prepends `path` to GOPATH environment variable accounting for possibly for default value. Returns original value of the enviroment variable, don't forget to restore it with defer:
defer os.Setenv("GOPATH", origGoPath)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.