amfora/webbrowser/open_browser_other.go

11 lines
300 B
Go
Raw Normal View History

2020-06-18 20:54:48 +00: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 20:54:48 +00:00
func Open(url string) (string, error) {
2020-07-02 18:29:33 +00:00
return "", fmt.Errorf("unsupported OS for default HTTP handling. Set a command in the config")
2020-06-18 20:54:48 +00:00
}