daniel.w e8e27a9f53 | ||
---|---|---|
build | ||
etc | ||
generate | ||
internal | ||
.gitignore | ||
go.mod | ||
makefile | ||
member.go | ||
readme.md |
readme.md
Install
goctl
goctl rpc protoc ./generate/protobuf/member.proto --style=go_zero --go_out=./gen_result/pb --go-grpc_out=./gen_result/pb --zrpc_out=.
go get -d github.com/envoyproxy/protoc-gen-validate
mockgen -source=./validate.go -destination=../../mock/lib/validate.go -package=lib
GRPC Validate
https://github.com/anoyah/go-zero-validate https://github.com/bufbuild/protoc-gen-validate