$ go version go1.12.5 windows/amd64
yes
go env
)?go env
Output
set GOARCH=amd64
set GOBIN=
set GOCACHE=%userprofile%\AppData\Local\go-build
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=%userprofile%\go
set GOPROXY=
set GORACE=
set GOROOT=C:\Go
set GOTMPDIR=
set GOTOOLDIR=C:\Go\pkg\tool\windows_amd64
set GCCGO=gccgo
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=%TMP%\go-build305408746=/tmp/go-build -gno-record-gcc-switches
cd %gopath%\src\golang.org\
git pull
go install
No errors
golang.org\x\tools\go\ssa\interp\testdata\src\strings\strings.go:3:6: missing function body golang.org\x\tools\go\ssa\interp\testdata\src\strings\strings.go:5:6: missing function body
https://github.com/golang/tools/blob/master/go/ssa/interp/testdata/src/strings/strings.go
You can't run "git pull" in %gopath%\src\golang.org ... that's not a git repo.
What did you actually do?
Accidently imported "golang.org/x/tools/go/ssa/interp/testdata/src/strings" with the Alt Enter shortcut in Goland instead of "strings". 2am facepalm.
i had the same issue, it imported golang.org/x/tools/go/ssa/interp/testdata/src/strings
at the part of the import
golang.org/x/tools/go/ssa/interp/testdata/src/strings
change to strings
Most helpful comment
Accidently imported "golang.org/x/tools/go/ssa/interp/testdata/src/strings" with the Alt Enter shortcut in Goland instead of "strings". 2am facepalm.