openurl

package module
v0.0.0-...-673a04d Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2016 License: MIT Imports: 3 Imported by: 1

README

openurl

Build Status codecov

golang package for opening URLs in default web browser.

Usage

import (
  ...

  "github.com/darkowlzz/openurl"
)

if err := openurl.Open("http://example.com"); err != nil {
  log.Fatal(err)
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Open

func Open(url string) error

Open executes platform specific command to open default web browser with the given url

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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