browser

package
Version: v1.21.1 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2021 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.

Source Files

Jump to

Keyboard shortcuts

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