Documentation
¶
Index ¶
- func CommandExists(command string) (bool, error)
- func CurrentGopath() string
- func DirExists(path string) (bool, error)
- func DirToPkg(dir string) string
- func OriginalGopath() string
- func PkgToDir(pkg string) string
- func ReplaceHomeDir(path string) string
- func VendorExists() (bool, error)
- func VirtualgoRoot() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommandExists ¶ added in v0.8.0
CommandExists checks if a specific command exists on the system
func CurrentGopath ¶
func CurrentGopath() string
func DirExists ¶ added in v0.6.4
DirExists returns whether the given directory exists or not. If the path exists, but isn't a directory it returns an error.
func OriginalGopath ¶
func OriginalGopath() string
func ReplaceHomeDir ¶
func VendorExists ¶ added in v0.6.4
func VirtualgoRoot ¶
func VirtualgoRoot() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.