Re: [go-nuts] how to use replace directives in go.mod in dev but not prod

2020-09-22 Thread Paul Jolly
> CI probably is the anwser, made a utility based on golang.org/x/mod which > parses go.mod and checks if replaces are there and exit with error state if > they are. This isn't the problem discussed in 26640 at least. There, the issue is that it is not currently possible to have a go.mod.local f

Re: [go-nuts] how to use replace directives in go.mod in dev but not prod

2020-09-22 Thread Denis Cheremisov
CI probably is the anwser, made a utility based on golang.org/x/mod which parses go.mod and checks if replaces are there and exit with error state if they are. вторник, 22 сентября 2020 г. в 11:21:55 UTC+3, Paul Jolly: > 26640 is an open issue describing the same problem you're describing. >

Re: [go-nuts] how to use replace directives in go.mod in dev but not prod

2020-09-22 Thread Paul Jolly
26640 is an open issue describing the same problem you're describing. Unfortunately because it remains open there is not yet a solution. On Tue, 22 Sep 2020, 07:36 Alex Mills, wrote: > i dont understand, is there a solution or just a proposal? > > On Mon, Sep 21, 2020, 23:03 Paul Jolly wrote: >

Re: [go-nuts] how to use replace directives in go.mod in dev but not prod

2020-09-21 Thread Alex Mills
i dont understand, is there a solution or just a proposal? On Mon, Sep 21, 2020, 23:03 Paul Jolly wrote: > I just replied. I think that https://github.com/golang/go/issues/26640 > covers this. > > On Tue, 22 Sep 2020 at 06:52, Alex Mills wrote: > > > > I put this question on the golang issue tr

Re: [go-nuts] how to use replace directives in go.mod in dev but not prod

2020-09-21 Thread Paul Jolly
I just replied. I think that https://github.com/golang/go/issues/26640 covers this. On Tue, 22 Sep 2020 at 06:52, Alex Mills wrote: > > I put this question on the golang issue tracker on github: > https://github.com/golang/go/issues/41546 > > I am sure it's been answered before but hard to search

[go-nuts] how to use replace directives in go.mod in dev but not prod

2020-09-21 Thread Alex Mills
I put this question on the golang issue tracker on github: https://github.com/golang/go/issues/41546 I am sure it's been answered before but hard to search for..anyone know what the right approach is? I like how node.js / NPM solve it using symlinks personally. -- You received this message bec