protoc-gen-go: add better support for modules · Issue #748 · golang/protobuf

The go toolchain is moving towards the deprecation of $GOPATH where modules are the norm. In such a world, the current default behavior of emitting a file relative according to the Go package path ...