open

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BackgroundEnvKey = "OPEN_IN_BACKGROUND"
	DisabledEnvKey   = "OPEN_DISABLED" // currently just used for simple smoke tests of the pkg
)

Variables

This section is empty.

Functions

func Open

func Open(uri string) error

Open a file, directory, or URI using the OS's default application for that object type

func OpenWith

func OpenWith(appName, uri string) error

OpenWith a file, directory, or URI using the specified application.

Types

This section is empty.

Jump to

Keyboard shortcuts

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