1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
// +build !linux,!windows,!darwin,!openbsd package browser import ( "fmt" "os/exec" "runtime" ) func openBrowser(url string) error { return fmt.Errorf("openBrowser: unsupported operating system: %v", runtime.GOOS) } func setFlags(cmd *exec.Cmd) {}