Documentation
¶
Index ¶
- func CompileAssetRegex(expr string) (*regexp.Regexp, error)
- func IsKnownGOOS(value string) bool
- func SelectableReleaseAssets(assets []string) []string
- type Detector
- func NewAllDetector() Detector
- func NewAssetDetector(asset string, anti bool, re *regexp.Regexp) Detector
- func NewChain(detectors []Detector, system Detector) Detector
- func NewSystemDetector(goos, goarch string) (Detector, error)
- func NewSystemDetectorWithLibc(goos, goarch, libc string) (Detector, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsKnownGOOS ¶
func SelectableReleaseAssets ¶
Types ¶
type Detector ¶
func NewAllDetector ¶
func NewAllDetector() Detector
func NewSystemDetector ¶
Click to show internal directories.
Click to hide internal directories.