-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
godebug does not work with code that imports net/http (since go 1.6) #88
Comments
I have some more information. for some reason the file /usr/local/go//src/net/http/h2_bundle.go has an include for |
I believe it has something to do with this bug golang/go#16333. Still don't understand why building the code normally works but it fails with godebug |
OK, I found where the golang_org directory is. It's vendor in go 1.7 (/usr/local/go/src/vendor/golang_org/). So the issues is that when I use godebug, it's not supporting the vendoring directory. If you look at the top of the original error, you can see its checking 3 directories for the golang_org/x/route package. But the list does not contain the vendor subdir |
@athirn sorry |
@athirn thank you. |
Thanks go2run for the above comment what I did was |
I just symlinked em for now |
For those of us on Windows the |
I symlinked and I still get errors like |
whenever I import
net/http
, I get all sorts of errors when I try and rungodebug
. The same code works fine when I build and run it with go directly.Here is a simple example app and the output of go debug....
The text was updated successfully, but these errors were encountered: