1
0
mirror of https://github.com/makew0rld/amfora.git synced 2024-11-03 02:37:23 -05:00
amfora/webbrowser/open_browser_other.go

12 lines
376 B
Go
Raw Normal View History

2021-12-01 11:18:20 -05:00
//go:build !linux && !darwin && !windows && !freebsd && !netbsd && !openbsd
2020-06-18 16:54:48 -04: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 16:54:48 -04:00
func Open(url string) (string, error) {
2020-07-02 14:29:33 -04:00
return "", fmt.Errorf("unsupported OS for default HTTP handling. Set a command in the config")
2020-06-18 16:54:48 -04:00
}