Skip to content
This repository has been archived by the owner on May 2, 2022. It is now read-only.
/ browser Public archive
forked from pkg/browser

Package browser provides helpers to open files, readers, and urls in a browser window.

License

Notifications You must be signed in to change notification settings

scmn-dev/browser

 
 

browser

Helpers to open URLs, readers, or files in the system default web browser.

This fork adds:

  • OpenReader error wrapping;
  • ErrNotFound error wrapping on BSD;

Usage

import "github.com/scmn-dev/browser"

err = browser.OpenURL(url)
err = browser.OpenFile(path)
err = browser.OpenReader(reader)

About

Package browser provides helpers to open files, readers, and urls in a browser window.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%