Help us shape the future of Go! Take the 2026 Go Developer Survey

webbrowser

package module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 14, 2019 License: LGPL-3.0 Imports: 6 Imported by: 18

README

webbrowser

Go helpers for interacting with Web browsers.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoBrowser = errors.New("cannot find a browser to open the web page")

ErrNoBrowser is returned when a browser cannot be found for the current OS.

Functions

func Open

func Open(url *url.URL) error

Open opens a web browser at the given URL. If the OS is not recognized, an ErrNoBrowser is returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL