[go-nuts] Re: How do I update all direct and indirect dependencies in go.mod

2019-02-26 Thread Francis Chuang
Thanks for the tip! I've subscribed to your github issue as well. Hopefully, it will be implemented in 1.13, as I feel that this is a pretty common usecase. On Wednesday, February 27, 2019 at 12:06:13 PM UTC+11, thepud...@gmail.com wrote: > > Hi Francis, > > To ask that your direct

[go-nuts] Re: How do I update all direct and indirect dependencies in go.mod

2019-02-26 Thread thepudds1460
Hi Francis, To ask that your direct dependencies be upgraded to their latest available versions, you can do the following in Go 1.11 or 1.12: go get $(go list -f '{{if not (or .Main .Indirect)}}{{.Path}}{{end}}' -m all) Your indirect dependencies will be updated as needed according to the