Re: [go-nuts] Any chance of not deprecating GOPATH ?

2020-02-02 Thread Wojciech S. Czarnecki
Dnia 2020-02-01, o godz. 18:16:11 Randall O'Reilly napisał(a): > But I really like GOPATH! See: https://divan.dev/posts/gopath/ for some > similar sentiments. I concur! See also https://github.com/golang/go/issues/26640, recently reopened, 2020-02-01 22:50:27 időpontban Tamás Gulácsi a kö

Re: [go-nuts] Any chance of not deprecating GOPATH ?

2020-02-01 Thread Randall O'Reilly
Thanks for the tip — that led me to these other relevant discussions: * https://groups.google.com/forum/#!searchin/golang-nuts/gohack$20replace$20modules * https://www.reddit.com/r/golang/comments/cvapcu/go_mod_how_to_get_it_to_find_packagesmodules_in/ * And now I understand the point of this to

[go-nuts] Any chance of not deprecating GOPATH ?

2020-02-01 Thread Tamás Gulácsi
See the "replace" directive of go.mod. replace my/pkg => ../../my/other/pkg Will use that other pkg instead of my/pkg. -- 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, send an

[go-nuts] Any chance of not deprecating GOPATH ?

2020-02-01 Thread Randall O'Reilly
Apologies for being really slow on the uptake here, but I’m just now realizing that the master plan is to actually get rid of the GOPATH mode! Is there any chance of possibly retaining it? Is it too much work to maintain both modules and GOPATH modes? I have absolutely no qualms with the modu