cheekybits / genny

Elegant generics for Go
MIT License
1.71k stars 126 forks source link

fix(imports): update golang.org/x/tools package to resolve erroneous imports #69

Closed mrene closed 1 year ago

mrene commented 3 years ago

We use genny to generate generic versions of logic for different protobuf objects. When running genny, it automatically replaces the import for github.com/gogo/protobuf/proto for google.golang.org/protobuf (which then breaks things).

Upgrading the imports package to the most recent version fixes the issue.

Could relate to #40 but I haven't investigated the other cases.