...

Package browser

import "cmd/internal/browser"
Overview
Index

Overview ▾

Package browser provides utilities for interacting with users' browsers.

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.