amfora/webbrowser/open_browser_other.go

11 lines
300 B
Go

// +build !linux,!darwin,!windows,!freebsd,!netbsd,!openbsd
package webbrowser
import "fmt"
// Open opens `url` in default system browser, but not on this OS.
func Open(url string) (string, error) {
return "", fmt.Errorf("unsupported OS for default HTTP handling. Set a command in the config")
}