browser

package
v1.22.0 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command(url, launcher string) (*exec.Cmd, error)

Command produces an exec.Cmd respecting runtime.GOOS and $BROWSER environment variable

func ForOS

func ForOS(goos, url string) *exec.Cmd

ForOS produces an exec.Cmd to open the web browser for different OS

func FromLauncher

func FromLauncher(launcher, url string) (*exec.Cmd, error)

FromLauncher parses the launcher string based on shell splitting rules

Types

This section is empty.

Jump to

Keyboard shortcuts

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