amfora/webbrowser/open_browser_other.go

11 lines
300 B
Go
Raw Normal View History

2020-06-18 23:54:48 +03:00
// +build !linux,!darwin,!windows,!freebsd,!netbsd,!openbsd
package webbrowser
import "fmt"
// Open opens `url` in default system browser, but not on this OS.
2020-06-18 23:54:48 +03:00
func Open(url string) (string, error) {
2020-07-02 21:29:33 +03:00
return "", fmt.Errorf("unsupported OS for default HTTP handling. Set a command in the config")
2020-06-18 23:54:48 +03:00
}