From a14bd04e9648d38c80c1461dab23cde32c5f0cc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=88=B1=E6=8A=98=E8=85=BE=E7=9A=84=E5=B0=8F=E7=A0=81?= =?UTF-8?q?=E5=86=9C?= <747357766@qq.com> Date: Fri, 21 Mar 2025 15:31:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8C=85=E7=94=9F=E6=88=90?= =?UTF-8?q?=E5=91=BD=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 380e032..da4736e 100644 --- a/README.md +++ b/README.md @@ -17,4 +17,8 @@ Provide proto for goravel/example # 2. Generate proto files protoc --go_out=. --go-grpc_out=. *.proto + +protoc --proto_path=. --go_out=discovery --go_opt=paths=source_relative --go-grpc_out=discovery --go-grpc_opt=paths=source_relative discovery.proto +protoc --proto_path=. --go_out=user --go_opt=paths=source_relative --go-grpc_out=user --go-grpc_opt=paths=source_relative users.proto + ```