browser

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package browser opens URLs in the user's default web browser.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Open

func Open(url string) error

Open launches the user's default browser pointed at url. It is best-effort: it returns the error from spawning the opener, and callers should always print the URL too so headless/SSH users can open it manually.

Types

This section is empty.

Jump to

Keyboard shortcuts

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