browser

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package browser opens URLs in the platform default web browser.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Open

func Open(url string) error

Open opens the URL and waits for the launcher command to finish, reporting its exit status as an error.

func Start

func Start(url string) error

Start opens the URL without waiting for the launcher command to finish. Use this when the caller must keep running (e.g. an OAuth callback server).

Types

This section is empty.

Jump to

Keyboard shortcuts

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