Skip to content

Instantly share code, notes, and snippets.

@kostyay
Created April 3, 2020 15:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kostyay/828b4105937c59f24f5f613b4f736c58 to your computer and use it in GitHub Desktop.
Save kostyay/828b4105937c59f24f5f613b4f736c58 to your computer and use it in GitHub Desktop.
Example protodep.toml file
proto_outdir = "./protodep"
[[dependencies]]
target = "github.com/mwitkow/go-proto-validators"
branch = "master"
path = "github.com/mwitkow/go-proto-validators"
ignores = ["./test", "./examples"]
[[dependencies]]
target = "github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis/google/api"
revision = "v1.14.1"
path = "google/api"
[[dependencies]]
target = "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options"
revision = "v1.14.1"
path = "protoc-gen-swagger/options"
[[dependencies]]
target = "github.com/protocolbuffers/protobuf/src/google/protobuf"
revision = "v3.11.4"
path = "google/protobuf"
ignores = ["./compiler", "unittest", "test_messages_", "any_test", "map_lite_unittest", "map_proto2_unittest", "util", "map_unittest"]
[[dependencies]]
target = "github.com/stackpulse/service2/api/internal-api/v1/"
path = "github.com/stackpulse/service2/api/internal-api/v1/"
branch = "master"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment