{"modulePath":"github.com/cli/browser","version":"v1.3.0","isLatest":true,"isStandardLibrary":false,"goos":"linux","goarch":"amd64","docs":"# package browser\n\nPackage browser provides helpers to open files, readers, and urls in a browser window.\n\nThe choice of which browser is started is entirely client dependent.\n\n## Variables\n\n```go\nvar Stderr io.Writer = os.Stderr\n```\nStderr is the io.Writer to which executed commands write standard error.\n\n```go\nvar Stdout io.Writer = os.Stdout\n```\nStdout is the io.Writer to which executed commands write standard output.\n\n## Functions\n\n```go\nfunc OpenFile(path string) error\n```\nOpenFile opens new browser window for the file path.\n\n```go\nfunc OpenReader(r io.Reader) error\n```\nOpenReader consumes the contents of r and presents the results in a new browser window.\n\n```go\nfunc OpenURL(url string) error\n```\nOpenURL opens a new browser window pointing to url.\n\n","path":"github.com/cli/browser","name":"browser","synopsis":"Package browser provides helpers to open files, readers, and urls in a browser window.","isRedistributable":true}
