This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
//go:build !windows && !darwin
packagensys
import(
"os/exec"
"strings"
)
// IsWin system. linux windows darwin
funcIsWin()bool{returnfalse}
// IsWindows system. linux windows darwin
funcIsWindows()bool{returnfalse}
// IsMac system
funcIsMac()bool{returnfalse}
// IsDarwin system
funcIsDarwin()bool{returnfalse}
// IsLinux system
funcIsLinux()bool{
returntrue
}
// There are multiple possible providers to open a browser on linux
// One of them is xdg-open, another is x-www-browser, then there's www-browser, etc.