Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/higebu/docker-protoc-go


https://github.com/higebu/docker-protoc-go

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# protoc-go

[higebu/protoc-go](https://hub.docker.com/r/higebu/protoc-go/)

protoc docker image with some plugins.

- github.com/golang/protobuf/protoc-gen-go
- github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway
- github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger
- github.com/mwitkow/go-proto-validators/protoc-gen-govalidators

```
docker run --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp higebu/protoc:latest protoc \
--go_out=. --grpc-gateway_out=:. --swagger_out=:. \
-I=.:/go/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis \
*.proto
```