Skip to content

Commit fc133dd

Browse files
committed
[docs] Add examples README
1 parent 1be189c commit fc133dd

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

examples/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Run example locally
2+
3+
* cd into directory, for example `cd hello`
4+
* `go run .`
5+
6+
# Run example without cloning the Pi source code
7+
8+
* `go run github.com/elgopher/pi/examples/hello@latest`
9+
10+
where `hello` is a directory name

0 commit comments

Comments
 (0)