open

package
v0.0.0-...-5fe729b Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2023 License: MIT Imports: 3 Imported by: 3

Documentation

Overview

Package open offers ability to open files or URLs as if user double-clicked it in their OS.

Deprecated: Use github.com/shurcooL/go/browser package if you need to open URLs. It respects the BROWSER environment variable.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Open

func Open(path string)

Open opens a file (or a directory or url), just as if the user had double-clicked the file's icon. It uses the default application, as determined by the OS.

Types

This section is empty.

Jump to

Keyboard shortcuts

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