Documentation
¶
Overview ¶
Package open provides utilities for opening URLs in a browser.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var StartCommand = func(cmd *exec.Cmd) error {
return cmd.Start()
}
StartCommand starts an exec.Cmd. Overridden in tests to avoid launching a real browser.
Functions ¶
func CanOpenBrowser ¶ added in v1.5.7
func CanOpenBrowser() bool
CanOpenBrowser determines if no browser is set in linux
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.