Closed knz closed 3 years ago
Could we somehow lock these versions in go.mod, even though they're build tools rather than direct dependencies?
Maybe; how should I do this?
Maybe; how should I do this?
You could do something like this: https://marcofranssen.nl/manage-go-tools-via-go-modules/
The Go team approves: https://github.com/golang/go/issues/25922#issuecomment-402918061
Also, I seem to recall that @tooolbox had some ideas on handling build-time dependencies.
Rebased; also:
Could we somehow lock these versions in go.mod, even though they're build tools rather than direct dependencies?
In fact, not yet. I had to revert that doc change in the Makefile
- for now, we still prefer to use crdb's own protoc-gen-gogo
to ensure that the generated structs are simplified.
So that point is not yet relevant.
Cool, let's revisit later.
This change is![Reviewable](https://reviewable.io/review_button.svg)