browser

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Open

func Open(url string) error

Open opens the specified URL in the user's default browser.

func WaitAndOpen

func WaitAndOpen(ctx context.Context, url string, automatic bool)

WaitAndOpen prints a message and waits for the user to press Enter before opening the specified URL. It stops waiting and does not open the browser if the context is canceled.

Types

This section is empty.

Jump to

Keyboard shortcuts

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