go: github.com/shurcooL/go/open Index | Files

package open

import "github.com/shurcooL/go/open"

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.


Package Files


func Open Uses

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.

Package open imports 3 packages (graph) and is imported by 5 packages. Updated 2017-07-22. Refresh now. Tools for package owners.