blurp/vendor/github.com/pkg/browser/browser_unsupported.go
decentral1se 9e9227b420
All checks were successful
continuous-integration/drone/push Build is passing
fix: error handling and vendor
2024-08-04 10:55:35 +02:00

14 lines
305 B
Go

//go:build !linux && !windows && !darwin && !openbsd && !freebsd && !netbsd
// +build !linux,!windows,!darwin,!openbsd,!freebsd,!netbsd
package browser
import (
"fmt"
"runtime"
)
func openBrowser(url string) error {
return fmt.Errorf("openBrowser: unsupported operating system: %v", runtime.GOOS)
}