Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func ConditionArch ¶
ConditionArch checks if the given names contain current `runtime.GOARCH`
ConditionArch("amd64")
ConditionArch("arm", "arm64")
func ConditionOs ¶
ConditionOs checks if the given names contain current `runtime.GOOS`
ConditionOs("windows")
ConditionOs("darwin", "linux")
func ConditionParent ¶
ConditionParent checks if any parent directory contains one of the given file/directory
ConditionParent(".git")
ConditionParent("go.mod", "go.sum")
func ConditionPath ¶
ConditionPath checks if any of the given executables are in PATH
ConditionPath("git")
ConditionPath("carapace", "go")
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.