browser_unsupported.go raw

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