Below you will find pages that utilize the taxonomy term “Dependencies”
Posts
read more
Checking Go Modules direct dependencies for updates
I continue to be “challenged” grep’ing my Golang GitHub repos to check for module updates. I feel my code aging in cold storage and it bugs me.
Golang issues 40364: enable listing direct dependency updates includes this useful solution which filters indirect dependencies and returns a list of direct dependency updates (although presumably only 0–>1 for major versions):
go list -f '{{if not .Indirect}}{{.}}{{end}}' -u -m all
I’ll take what I can get.