desktop

package module
v0.0.0-...-61b4374 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2012 License: MIT Imports: 3 Imported by: 0

README

=============
desktop 0.1.0
=============

A cross platform way to run default handler for uri.


Install
=======
`go install bitbucket.org/tebeka/desktop`


Usage
=====
::

    import "desktop"

    desktop.Open("README.html") // Will open with default browser

Contact
=======
Miki Tebeka <[email protected]>

Bug reports go here_.

.. _here: https://bitbucket.org/tebeka/desktop/issues?status=new&status=open


Documentation

Overview

The desktop package exposes Open function which acts like the user clicked on a uri.

Index

Constants

This section is empty.

Variables

View Source
var Version = "0.1.1"

Functions

func Open

func Open(uri string) error

Open calls the OS default program for uri e.g. Open("http://www.google.com") will open the default browser on www.google.com

Types

This section is empty.

Jump to

Keyboard shortcuts

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