This commit is contained in:
admin committed 2026-11-06 16:58:42 +08:00
commit ee2718a1d0
17 files changed
+5264

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
PROTOC_GEN_GO_VERSION := v1.36.12
PROTOC_GEN_GO_GRPC_VERSION := v1.5.1
.PHONY: tools generate
tools:
go install google.golang.org/protobuf/cmd/protoc-gen-go@$(PROTOC_GEN_GO_VERSION)
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@$(PROTOC_GEN_GO_GRPC_VERSION)
generate:
protoc --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative micro_layout/proto/user/user.proto xt-user/proto/user/user.proto