12 lines · 229 bytes
1// +build !linux,!windows,!darwin,!openbsd,!freebsd,!netbsd
2
3package browser
4
5import (
6 "fmt"
7 "runtime"
8)
9
10func openBrowser(url string) error {
11 return fmt.Errorf("openBrowser: unsupported operating system: %v", runtime.GOOS)
12}