fix
2023-12-05 14:30:49 +08:00
2023-11-27 17:36:02 +08:00
2023-12-07 17:22:05 +08:00
2023-12-07 16:35:16 +08:00
2023-11-27 17:36:02 +08:00
2023-12-04 16:00:09 +08:00

公共服务调用的协议

介绍

公共协议, 每个服务需要git submodule 拉 xxx/proto 目录下. 然后使用序列.

安装protoc protoc-25.0-linux-x86_64.zip
# 去掉SUMDB的验证
go env -w GOSUMDB="off"

git submodule add git@gitlab.fusenpack.com:backend/proto.git

然后执行

go install \
github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway \
github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2 \
google.golang.org/protobuf/cmd/protoc-gen-go \
google.golang.org/grpc/cmd/protoc-gen-go-grpc

go run proto/goutils/proto_build/main.go
或者
在proto/goutils/proto_build/main_test.go执行测试 TestMain

./update_fspkg_master.sh # 执行更新最新的包

软件架构

软件架构说明

Description
No description provided
Readme 319 KiB
Languages
Starlark 66.5%
Go 26.2%
Smarty 7.3%