An open API service indexing awesome lists of open source software.

https://github.com/bryanl/webbrowser

go library for opening URLs in web browsers
https://github.com/bryanl/webbrowser

Last synced: about 1 year ago
JSON representation

go library for opening URLs in web browsers

Awesome Lists containing this project

README

          

# webbrowser

Go library for opening URLs using a web browser. Currently supports Linux, OSX, and Windows.

## Documentation

The API documentation can be found at [http://godoc.org/github.com/bryanl/webbrowser](http://godoc.org/github.com/bryanl/webbrowser).

## Example

```
package main

import (
"log"

"github.com/bryanl/webbrowser"
)

func main() {
err := webbrowser.Open("http://blil.es", webbrowser.NewTab, true)
if err != nil {
log.Println("open failed:", err)
}
}
```
~