Contour: `go get` no longer populates the `$GOPATH/src` with the project's source code

Created on 18 May 2021  路  3Comments  路  Source: projectcontour/contour

I was setting up contour as instructed in the CONTRIBUTING.md, when I found that the repo was not being fetched in $GOPATH/src. Possible mitigation which I found were setting GO111MODULE=off or cloning it in the appropriate directory. If the suggestion seems fine, Shall I go ahead to make this change in the docs?

aredocumentation

Most helpful comment

I think then the entire Fetch the source section can be reduced to fork and clone the repo.

All 3 comments

Thanks for noticing the issue @pandeykartikey. Yes, we should update that document. Personally, I'd replace the go get command with a git clone into any directory (no longer needs to be a subdir of $GOPATH).

Yep I don鈥檛 work out of the GOPATH at all with contour, just clone it and other module repos into my workspace directory

I think then the entire Fetch the source section can be reduced to fork and clone the repo.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

phylake picture phylake  路  7Comments

jjimenezmont picture jjimenezmont  路  5Comments

davecheney picture davecheney  路  4Comments

davecheney picture davecheney  路  6Comments

annismckenzie picture annismckenzie  路  3Comments