Skip to content

Commit

Permalink
doc: update installation for protoc-gen-validate-go (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
WineChord authored Nov 14, 2023
1 parent 7c298a5 commit a6f2b57
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,11 @@ $ # Reference: https://github.com/uber-go/mock
$ go install go.uber.org/mock/mockgen@latest
</pre></details>

<details><summary>Install protoc-gen-validate</summary><br><pre>
$ Please download the binaries in https://github.com/bufbuild/protoc-gen-validate/releases
<details><summary>Install protoc-gen-validate and protoc-gen-validate-go</summary><br><pre>
$ # Please download the binaries in https://github.com/bufbuild/protoc-gen-validate/releases
$ # Or:
$ go install github.com/envoyproxy/protoc-gen-validate@latest
$ go install github.com/envoyproxy/protoc-gen-validate/cmd/protoc-gen-validate-go@latest
</pre></details>

## Quick Start
Expand Down
7 changes: 5 additions & 2 deletions README.zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,11 @@ $ # Reference: https://github.com/uber-go/mock
$ go install go.uber.org/mock/mockgen@latest
</pre></details>

<details><summary>Install protoc-gen-validate</summary><br><pre>
$ Please download the binaries in https://github.com/bufbuild/protoc-gen-validate/releases
<details><summary>Install protoc-gen-validate and protoc-gen-validate-go</summary><br><pre>
$ # Please download the binaries in https://github.com/bufbuild/protoc-gen-validate/releases
$ # Or:
$ go install github.com/envoyproxy/protoc-gen-validate@latest
$ go install github.com/envoyproxy/protoc-gen-validate/cmd/protoc-gen-validate-go@latest
</pre></details>

## 快速上手
Expand Down

0 comments on commit a6f2b57

Please sign in to comment.