會員系統 repo
Go to file
daniel.w 9c4ea12b88 feat: remove role id 2024-08-03 22:37:12 +08:00
build feat:init project 2024-07-21 23:57:56 +08:00
etc feat:init project 2024-07-21 23:57:56 +08:00
generate feat: remove role id 2024-08-03 22:37:12 +08:00
internal feat: remove role id 2024-08-03 22:37:12 +08:00
.gitignore feat:init project 2024-07-21 23:57:56 +08:00
go.mod feat: finish member func 2024-08-02 10:10:25 +08:00
makefile feat:init project 2024-07-21 23:57:56 +08:00
member.go feat: finish member func 2024-08-02 10:10:25 +08:00
readme.md feat: remove role id 2024-08-03 22:37:12 +08:00

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