feat: import services and standardize Go 1.26.5

This commit is contained in:
2026-08-09 10:43:45 +08:00
parent 689c74b28f
commit 86024fa81d
1456 changed files with 220765 additions and 2 deletions

View File

@@ -0,0 +1,10 @@
# 由于goctl 不能编译多个proto文件所以先要安装合并工具
# go install git.apinb.com/bsm-tools/proto-merge@v0.0.3
# 1. 先合并
proto-merge ./proto/*.proto ./proto/passport.mproto
# 2. goctl 生成代码至/gen
goctl rpc protoc ./proto/passport.mproto --go_out=./pb --go-grpc_out=./pb --zrpc_out=./gen/ -m --style go_zero
#protoc --go_out=./pb/ --go_opt=paths=source_relative --go-grpc_out=./pb/ --go-grpc_opt=require_unimplemented_servers=false --go-grpc_opt=paths=source_relative ./proto/*.proto --proto_path=./proto/