Re: [go-nuts] Re: How to update a module's direct dependencies only

2019-09-05 Thread Mihai Borobocea
On Thu, Sep 5, 2019 at 3:28 PM Tamás Gulácsi wrote: > Ain't Go 1.13's "go get -u" does exactly this? > And the old behaviour with "go get -u all" ? > Thanks for the input but: > I cannot use 'go get -u -t -d ./...' here because that brings in the >> indirect dependency 'goB' into my go.mod. >> >

Re: [go-nuts] Re: How to update a module's direct dependencies only

2019-09-05 Thread Mihai Borobocea
On Thu, Sep 5, 2019 at 4:33 AM t hepudds wrote: > To upgrade your direct dependencies to their latest release (with your > indirect dependencies using versions selected based on the requirements of > your direct dependencies), this should work in most cases: > > go get $(go list -f '{{if not (o