Documentation ¶ Index ¶ func AppendPath(env []string, binPath string) []string func Lookup(env []string, bin string) string func Matches(cmd []string, bin string) bool Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func AppendPath ¶ func AppendPath(env []string, binPath string) []string func Lookup ¶ func Lookup(env []string, bin string) string Lookup will try to find bin in the PATH in env. It will refer to PATHEXT for Windows support. If bin can not be resolved to anything the original bin string is returned. func Matches ¶ func Matches(cmd []string, bin string) bool Types ¶ This section is empty. Source Files ¶ View all Source files env.go Click to show internal directories. Click to hide internal directories.