mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-13 15:09:42 +00:00
gctrpc: generate protobuf files with latest versions of tools (#721)
* gctrpc: generate protobuf files with latest versions of tools * gctrpc: generation scripts now use protoc-gen-openapiv2 (instead of protoc-gen-swagger) * gtcrpc: update readme
This commit is contained in:
@@ -37,15 +37,15 @@ Then use `go get` to download the following packages:
|
||||
|
||||
```bash
|
||||
go get github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway
|
||||
go get github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger
|
||||
go get github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2
|
||||
go get google.golang.org/protobuf/cmd/protoc-gen-go
|
||||
go get google.golang.org/grpc/cmd/protoc-gen-go-grpc
|
||||
```
|
||||
|
||||
This will place three binaries in your `$GOBIN`;
|
||||
This will place the following binaries in your `$GOBIN`;
|
||||
|
||||
* `protoc-gen-grpc-gateway`
|
||||
* `protoc-gen-swagger`
|
||||
* `protoc-gen-openapiv2`
|
||||
* `protoc-gen-go`
|
||||
* `protoc-gen-go-grpc`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user