1
0
mirror of https://github.com/makew0rld/amfora.git synced 2024-06-15 19:15:24 +00:00
amfora/webbrowser/open_browser_other.go

12 lines
376 B
Go
Raw Normal View History

2021-12-01 16:18:20 +00:00
//go:build !linux && !darwin && !windows && !freebsd && !netbsd && !openbsd
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
}