browser

package
v1.46.0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2024 License: MIT Imports: 4 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