Hi all, I've done a bit of searching, and asked around, but not found an answer to my (most likely self-inflicted) problem.
I have been coding with Go 1.10 and 1.11 for a whiles, but I decided that it was time to join the future and upgraded to 1.12. It worked fine for the project I was creating at the time, but after some time (long enough for me to forget the steps I took to upgrade!) I discovered issues with my install. I've tried to reinstall (Ubuntu, apt purge golang-1.* ) and reinstall, to no avail. I need to know what I can check to stop this behaviour, sans reinstalling the OS This is probably best demonstrated as: shane@desktop ~/GoLang/src/github.com/ipfs/go-ipfs (master) $ make build go version go1.12.7 linux/amd64 bin/check_go_version 1.12 go build "-asmflags=all='-trimpath=/home/shane/GoLang'" "-gcflags=all='-trimpath=/home/shane/GoLang'" -ldflags="-X "github.com/ipfs/go-ipfs".CurrentCommit=641d9f6b0-dirty" -o "cmd/ipfs/ipfs" "github.com/ipfs/go-ipfs/cmd/ipfs" /usr/local/go/src/crypto/tls/cipher_suites.go:18:2: unknown import path "golang_org/x/crypto/chacha20poly1305": cannot find module providing package golang_org/x/crypto/chacha20poly1305 /usr/local/go/src/crypto/x509/x509.go:36:2: unknown import path "golang_org/x/crypto/cryptobyte": cannot find module providing package golang_org/x/crypto/cryptobyte /usr/local/go/src/crypto/x509/x509.go:37:2: unknown import path "golang_org/x/crypto/cryptobyte/asn1": cannot find module providing package golang_org/x/crypto/cryptobyte/asn1 /usr/local/go/src/crypto/tls/key_agreement.go:18:2: unknown import path "golang_org/x/crypto/curve25519": cannot find module providing package golang_org/x/crypto/curve25519 /usr/local/go/src/net/dnsclient.go:11:2: unknown import path "golang_org/x/net/dns/dnsmessage": cannot find module providing package golang_org/x/net/dns/dnsmessage /usr/local/go/src/net/http/h2_bundle.go:47:2: unknown import path "golang_org/x/net/http/httpguts": cannot find module providing package golang_org/x/net/http/httpguts /usr/local/go/src/net/http/transport.go:34:2: unknown import path "golang_org/x/net/http/httpproxy": cannot find module providing package golang_org/x/net/http/httpproxy /usr/local/go/src/net/http/h2_bundle.go:48:2: unknown import path "golang_org/x/net/http2/hpack": cannot find module providing package golang_org/x/net/http2/hpack /usr/local/go/src/net/http/h2_bundle.go:49:2: unknown import path "golang_org/x/net/idna": cannot find module providing package golang_org/x/net/idna cmd/ipfs/Rules.mk:22: recipe for target 'cmd/ipfs/ipfs' failed make: *** [cmd/ipfs/ipfs] Error 1 $ go env GOARCH="amd64" GOBIN="" GOCACHE="/home/shane/.cache/go-build" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="linux" GOOS="linux" GOPATH="/home/shane/GoLang" GOPROXY="" GORACE="" GOROOT="/usr/local/go" GOTMPDIR="" GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64" GCCGO="gccgo" CC="gcc" CXX="g++" CGO_ENABLED="1" GOMOD="" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build529069743=/tmp/go-build -gno-record-gcc-switches" The issue is now showing up in my vim, golangci-lint is complaining of errors /usr/local/go/src/net/dnsclient.go|11 col 2| could not import golang_org/x/net/dns/dnsmessage (invalid package name: "") -- 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/1578e939-7aa9-4bb6-ba09-f0405f98b5ce%40googlegroups.com.