browser_unsupported.go 229 B

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