从 protobuf 文件中生成wire依赖注入的变量别名
请确保安装了以下依赖:
go install github.com/goapt/protoc-gen-go-wire@latest
protoc --proto_path=. \
--proto_path=./third_party \
--go_out=paths=source_relative:. \
--go-http_out=paths=source_relative:. \
--go-grpc_out=paths=source_relative,require_unimplemented_servers=false:. \
--go-wire_out=paths=source_relative:. \
./example/test.proto