mirror of
https://github.com/gogrlx/snack.git
synced 2026-04-02 05:08:42 -07:00
detect package failed to compile on non-Linux/FreeBSD/OpenBSD because candidates() and allManagers() had no fallback. Added detect_other.go with empty implementations.
14 lines
288 B
Go
14 lines
288 B
Go
//go:build !linux && !freebsd && !openbsd
|
|
|
|
package detect
|
|
|
|
// candidates returns an empty list on unsupported platforms.
|
|
func candidates() []managerFactory {
|
|
return nil
|
|
}
|
|
|
|
// allManagers returns an empty list on unsupported platforms.
|
|
func allManagers() []managerFactory {
|
|
return nil
|
|
}
|