go get with go1.8 causes "unexpected directory layout" error on first try #242
Comments
Hmm, weird. There is a src directory because Go does not support installing binaries from |
@alecthomas personally I find it confusing to have anything in the vendor dir that's not being imported in the code outside of |
As I said, the vendoring tooling does not support that (which is not surprising, as it's an unusual use-case), and previously this was not a problem. However, obviously that's no longer the case so I'll have to come up with an alternate plan. |
@alecthomas you can't set the |
Yes, that I can do, but the vendoring tool (gvt) does not support alternate directories. I'll probably end up having two separate gvt trees: |
@alecthomas okay, I don't know the semantics of that tool, but it looks like you're doing the You obviously know the code much better than me so I'll leave it to you. Thanks for looking into it! |
Okay, give that a try. Let me know if it works now. |
@alecthomas I can confirm it works for me - did
All seems good. Thanks for the very fast turnaround. |
Excellent, thanks for the report.
|
Might be worth mentioning in the README installation section? The rm -rf worked. Thanks @shawnps. (go version go1.8.5 darwin/amd64) |
This did it. Thank you so much for your help and patience! |
Running
go get -u -v github.com/alecthomas/gometalinter
first time causes this error:Running a second time seems to fix. Go version is Go 1.8.
@alecthomas why is there a
src
dir in thevendor
folder? Doesn't seem used.The text was updated successfully, but these errors were encountered: