undefined buildutil.*
zeroZshadow opened this issue · 2 comments
zeroZshadow commented
Just ran go get -u github.com/zmb3/gogetdoc
and this gives me a build error.
github.com\zmb3\gogetdoc\main.go:77: undefined: buildutil.ParseOverlayArchive
github.com\zmb3\gogetdoc\main.go:81: undefined: buildutil.OverlayContext
My go version is 1.6.2 windows/amd64
zmb3 commented
This error indicates that your golang.org/x/tools repo is out of date.
go get -u should have updated this for you. Are you sure you didn't forget the -u option?
zeroZshadow commented
It seems that for some reason it had golang.org/x/tools as a git repo on the 1.6 stable branch. Switching to master has resolved the issue!