-
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 vendoring #83
Comments
I also have this issue |
Try running
|
Believe the issue is that the file loader.go (_workspace/src/golang.org/x/tools/loader/loagergo) does not support vendoring. it needs to be enhanced add the vendored directories to ImportPath |
I have the same issue:
after the workaround: "go get ."
runs but does not debug my go files |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Go 1.6 has moved to vendoring for managing dependencies. However, godebug does not build when the package has vendored dependancies.
Here is the type of error message shown:
In godebug_tmp_folder/github.com/my_working_dir/my_repo/my_file.go
cannot use "github.com/popular_user/popular_lib".Fields
literal (type "github.com/popular_user/popular_lib".Fields)
as type "github.com/my_working_dir/my_repo/vendor/github.com/popular_user/popular_lib"
The text was updated successfully, but these errors were encountered: