What used to work pre go 1.13 now doesn't work anymore

go mod is one big mess no one needs and complicates everything
I'm now getting ambiguity. How do I resolve it?
Nothing compiles anymore

 ✘ darko@wrk  ~/go/src/git.icod.de/dalu/socialthing   master ●✚  go mod 
tidy
go: extracting github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8
git.icod.de/dalu/socialthing/cmd imports
        github.com/gin-gonic/gin/binding imports
        github.com/ugorji/go/codec: ambiguous import: found 
github.com/ugorji/go/codec in multiple modules:
        github.com/ugorji/go v1.1.4 
(/home/darko/go/pkg/mod/github.com/ugorji/go@v1.1.4/codec)
        github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8 
(/home/darko/go/pkg/mod/github.com/ugorji/go/codec@v0.0.0-20181204163529-d75b2dcb6bc8)


What does that even mean?
Why?
How do I fix this?
How do I permanently disable go mod?
I don't want it, I don't need it.

build git.icod.de/dalu/socialthing: cannot load github.com/ugorji/go/codec: 
ambiguous import: found github.com/ugorji/go/codec in multiple modules:
github.com/ugorji/go v1.1.4 
(/home/darko/go/pkg/mod/github.com/ugorji/go@v1.1.4/codec)
github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8 
(/home/darko/go/pkg/mod/github.com/ugorji/go/codec@v0.0.0-20181204163529-d75b2dcb6bc8)

/wrist

-- 
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 golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/db1df738-78fd-4ee0-933e-69ad25cb022e%40googlegroups.com.

Reply via email to