Skip to content

Commit c1b0a96

Browse files
committed
Update
1 parent e29027f commit c1b0a96

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

.gitpod.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ tasks:
77
init: go install github.com/go-task/task/v3/cmd/task@latest
88
- name: install goimport
99
init: go install golang.org/x/tools/cmd/goimports@latest
10+
- name: install socat
11+
init: sudo apt install -y socat
1012

1113
vscode:
1214
extensions:

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,18 @@ Unix domain socket (UDS) example by golang
33

44
## How to Run
55

6+
### Using [go-task](https://taskfile.dev/)
7+
8+
```sh
9+
$ task --list
10+
* run-basic: run basic example
11+
* run-readwrite: run readwrite example
12+
* run-readwrite2: run readwrite2 example
13+
* run-usinggob: run usinggob example
14+
15+
$ task [run-basic|run-readwrite|run-readwrite2|run-usinggob]
16+
```
17+
618
### basic
719

820
Open two terminals. the one is following:

0 commit comments

Comments
 (0)