open

package
Version: v0.0.0-...-93f0716 Latest Latest
Warning

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

Go to latest
Published: May 2, 2020 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.

Source Files

Jump to

Keyboard shortcuts

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