cweill / gotests

Automatically generate Go test boilerplate from your source code.
Apache License 2.0
4.95k stars 345 forks source link

bexport.go:212: obj.IsAlias undefined #101

Open duanebc opened 5 years ago

duanebc commented 5 years ago

On installation I receive errors.

$ go get -v github.com/cweill/gotests golang.org/x/tools/go/internal/gcimporter golang.org/x/tools/go/internal/packagesdriver # golang.org/x/tools/go/internal/gcimporter ..\..\golang.org\x\tools\go\internal\gcimporter\bexport.go:212: obj.IsAlias undefined (type *types.TypeName has no field or method IsAlias) # golang.org/x/tools/go/internal/packagesdriver ..\..\golang.org\x\tools\go\internal\packagesdriver\sizes.go:94: undefined: types.SizesFor --

$ go env set GOARCH=amd64 set GOBIN=C:\Users\dcrouc14\go1.8.3\bin set GOEXE=.exe set GOHOSTARCH=amd64 set GOHOSTOS=windows set GOOS=windows set GOPATH=C:\Users\dcrouc14\go1.8.3 set GORACE= set GOROOT=C:\Go set GOTOOLDIR=C:\Go\pkg\tool\windows_amd64 set GCCGO=gccgo set CC=gcc set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\Users\dcrouc14\AppData\Local\Temp\go-build827470975=/tmp/go-build -gno-record-gcc-switches set CXX=g++ set CGO_ENABLED=1 set PKG_CONFIG=pkg-config set CGO_CFLAGS=-IC:/OracleInstantClient/instantclient_12_1/sdk/include set CGO_CPPFLAGS= set CGO_CXXFLAGS=-g -O2 set CGO_FFLAGS=-g -O2 set CGO_LDFLAGS=-LC:/OracleInstantClient/instantclient_12_1 -loci --