[go-nuts] Re: Go module dependency debugging workflow

2021-04-09 Thread 'gonutz' via golang-nuts
Oh thanks a lot Carla Pfaff! I did not even know a v0.0.0-unpublished pseudo-version existed. It is not mentioned in the Go Modules Reference https://golang.org/ref/mod for whatever reason. This really takes the edge off. I was also pointed at the replace by some people on StackOverflow and whi

[go-nuts] Re: Modules... why it has to be so painfull?

2021-04-09 Thread 'gonutz' via golang-nuts
Justin Isreael said "Changes to ProjectB should be immediately available when compiling ProjectA." which is not true when you simply insert a replace in your go.mod file. My current problem is that I have a main module that uses a library module. I want to debug an issue so I insert a print st

[go-nuts] Go module dependency debugging workflow

2021-04-09 Thread 'gonutz' via golang-nuts
I was referred here from my closed Github issue ( https://github.com/golang/go/issues/45467 ). I have a practical question about debugging in the world of Go modules. The scenario: I am creating module mp3player, my main program. It uses library module mp3. While debugging I insert print statem