ark-member/readme.md

18 lines
415 B
Markdown
Raw Normal View History

2024-07-21 15:57:56 +00:00
### Install
```bash
goctl
2024-08-03 14:37:12 +00:00
goctl rpc protoc ./generate/protobuf/member.proto --style=go_zero --go_out=./gen_result/pb --go-grpc_out=./gen_result/pb --zrpc_out=.
2024-07-21 15:57:56 +00:00
go get -d github.com/envoyproxy/protoc-gen-validate
2024-08-02 02:18:33 +00:00
mockgen -source=./validate.go -destination=../../mock/lib/validate.go -package=lib
2024-07-21 15:57:56 +00:00
```
## GRPC Validate
https://github.com/anoyah/go-zero-validate
https://github.com/bufbuild/protoc-gen-validate