Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GoInstall ¶
GoInstall is a functionx that installs a package from a remote repository. returns an error if something goes wrong.
func GoModCache ¶ added in v0.1.12
func GoModCache() string
GoModCache returns the path of Go module cache.
func GoProxy ¶
func GoProxy() string
GoProxy returns the proxy setting for go. if not set, return a default proxy setting: "https://goproxy.cn,direct".
func IsGO111ModuleOn ¶
func IsGO111ModuleOn() bool
IsGO111ModuleOn returns true if go111module is set to on.
func SearchGoMod ¶ added in v0.1.14
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.