[go-nuts] Re: go modules and ambiguous import, how to fix it?

2019-05-18 Thread Jérôme LAFORGE
Thx thepudds, the solution with @none has fixed the pb. I just created the issue https://github.com/golang/go/issues/32128 Le samedi 18 mai 2019 00:13:37 UTC+2, t hepudds a écrit : > > Regarding that specific playground error, bradfitz kindly chimed in via a > more concise forum: > > > > ---

[go-nuts] Re: go modules and ambiguous import, how to fix it?

2019-05-17 Thread t hepudds
Regarding that specific playground error, bradfitz kindly chimed in via a more concise forum: https://twitter.com/bradfitz/status/1129508420925644802 --

[go-nuts] Re: go modules and ambiguous import, how to fix it?

2019-05-17 Thread t hepudds
I only took a brief look at this, but this seems to be a tricky one. You could try: go get github.com/ugorji/go/codec@none That made your example then work for me locally. >From the doc (https://golang.org/cmd/go/#hdr-Module_aware_go_get): "The version suffix @none indicates that th

[go-nuts] Re: go modules and ambiguous import, how to fix it?

2019-05-17 Thread Jérôme LAFORGE
How can I import this both modules without ambiguous? https://play.golang.org/p/YgrEmcTallk Thx for your help. -- 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 email to g