[go-nuts] Re: Go modules replace statements referencing legacy codebases

2020-11-06 Thread Jim Minter
Sadly not. Doing this doesn't cause an error, but it also doesn't change the relevant replace directive in the go.mod file. Jim -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it,

[go-nuts] Re: Go modules replace statements referencing legacy codebases

2020-11-06 Thread seank...@gmail.com
I think you should be able to do `go get ./... dep1@branchA dep2@branchB ...` On Friday, November 6, 2020 at 3:20:16 PM UTC+1 Jim Minter wrote: > Hi, > > Using Go 1.14, I'm working on a parent codebase which, in its go.mod > file, has a number of replace statements referencing legacy child >