mirror of https://github.com/linkerd/linkerd2.git
protobuf has a `go_package` option that can be used to explicitly name Go packages such that they can be imported without additional rewrites. This allows us to store proto files without additional, redundant directories (which were used for packaging hints, previously). This change adds an explicit `go_package` to all .proto files and updates `bin/protoc-go.sh` to ensure these packages are output into $GOPATH (so that the go_package can be absolute). This removes the need to manually rewrite imports in bin/protoc-go.sh. |
||
---|---|---|
.. | ||
destination.proto | ||
tap.proto |