3 ms·
The newest from go.sum isn't reliably the version used in the dep graph. The only way to get that information reliably is via go list. Unfortunately.
by preseinger 4y ago
The newest from go.sum isn't reliably the version used in the dep graph. The only way to get that information reliably is via go list. Unfortunately.
- salmo 4y agoOh, you are totally right. I read that in the GitLab issue tracking their version of the problem and totally forgot that’s where they landed.
- kubanczyk 4y agoFor the curious it's: go list -m all
- smoyer 4y agoAlso don't forget that more than one version of a dependency might be compiled into your application!
- arccy 4y agonot true for go
- preseinger 4y agoOnly one major version. And go considers different major versions to be different dependencies.