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
- Host: GitHub
- URL: https://github.com/bryanl/webbrowser
- Owner: bryanl
- License: mit
- Created: 2015-11-25T15:46:51.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-11-16T10:45:37.000Z (over 9 years ago)
- Last Synced: 2025-04-13T07:14:00.074Z (about 1 year ago)
- Language: Go
- Homepage:
- Size: 4.88 KB
- Stars: 10
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
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)
}
}
```
~