Skip to content

Commit 75f568c

Browse files
committed
added examples
1 parent a8e2270 commit 75f568c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

examples/Open/main.go

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
// Open is a simple example of the github.com/pkg/browser package.
2+
//
3+
// Usage:
4+
//
5+
// # Open a file in a browser window
6+
// Open $FILE
7+
//
8+
// # Open a URL in a browser window
9+
// Open $URL
10+
//
11+
// # Open the contents of stdin in a browser window
12+
// cat $SOMEFILE | Open
113
package main
214

315
import (

0 commit comments

Comments
 (0)