why does go get keep downgrading my dependency
Go 1.21. I run go get github.com/lib/pq@v1.10.9 and go.mod shows v1.10.9 for a second, then the next go mod tidy drops it back to v1.10.6. Nothing in my code pins the older version that I can find. go mod graph is a mess of indirect deps. Is something in the graph forcing it down, or am I misusing go get? I just want to sit on the patched version until the next release.
3 replies