package browser

import "golang.org/x/telemetry/cmd/gotelemetry/internal/browser"

Package browser provides utilities for interacting with users' browsers. This is a copy of the go project's src/cmd/internal/browser.

Index

Functions

func Commands

func Commands() [][]string

Commands returns a list of possible commands to use to open a url.

func Open

func Open(url string) bool

Open tries to open url in a browser and reports whether it succeeded.

Source Files

browser.go

Version
v0.0.0-20250221144447-d58820209c11 (latest)
Published
Feb 21, 2025
Platform
linux/amd64
Imports
4 packages
Last checked
1 month ago

Tools for package owners.