Skip to content

Commit ec29a8d

Browse files
committed
Update example
1 parent b347d9c commit ec29a8d

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,5 @@ _testmain.go
2626
# OSX
2727
*.DS_Store
2828
*.db
29+
/example/client/client
30+
/example/server/server

example/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,17 @@ Run Server
66

77
``` bash
88
$ cd example/server
9-
$ go run main.go
9+
$ go build server.go
10+
$ ./server
1011
```
1112

1213
Run Client
1314
----------
1415

1516
```
1617
$ cd example/client
17-
$ go run main.go
18+
$ go build client.go
19+
$ ./client
1820
```
1921

2022
Open the browser
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)