[go-nuts] Re: Replace modules from command line

2019-08-08 Thread Peter Feichtinger
This would do pretty much exactly what I want. I'll be watching that, thanks. On Thursday, August 8, 2019 at 11:20:26 AM UTC+2, Elias Naur wrote: > > I don't think it's possible today. There is an issue for it: > https://github.com/golang/go/issues/26640 > > - elias > -- You received this

[go-nuts] Re: Replace modules from command line

2019-08-08 Thread Elias Naur
mandag den 5. august 2019 kl. 18.46.01 UTC+2 skrev Peter Feichtinger: > > Hi Go Nuts, > > I have a rather unusual use case and I'm hoping for some input. > > For testing purposes, I want to build a Go binary with different versions > of one of its dependencies. The only way I could think of was

[go-nuts] Re: Replace modules from command line

2019-08-06 Thread anderson . queiroz
Ops, now really understood what you want... Well, a not really elegant way could be to have it pointing to a local folder and change the content on the local folder. But I believe the go.sum would spot the difference and break the build. But if you need to change the version, why cannot you