utils

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommandExists added in v0.8.0

func CommandExists(command string) (bool, error)

CommandExists checks if a specific command exists on the system

func CurrentGopath

func CurrentGopath() string

func DirExists added in v0.6.4

func DirExists(path string) (bool, error)

DirExists returns whether the given directory exists or not. If the path exists, but isn't a directory it returns an error.

func DirToPkg

func DirToPkg(dir string) string

func OriginalGopath

func OriginalGopath() string

func PkgToDir

func PkgToDir(pkg string) string

func ReplaceHomeDir

func ReplaceHomeDir(path string) string

func VendorExists added in v0.6.4

func VendorExists() (bool, error)

func VirtualgoRoot

func VirtualgoRoot() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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