Skip to content

Commit

Permalink
Add go modules to dev-setup doc
Browse files Browse the repository at this point in the history
  • Loading branch information
spencerhance committed May 9, 2019
1 parent 41ab1f5 commit ccd881f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions docs/contrib/dev-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,11 @@ We suggest using [Google Container Registry](https://cloud.google.com/container-
to store your images.

## Other considerations

The build uses dependencies in the `ingress/vendor` directory, which
must be installed before building a binary/image. Occasionally, you
might need to update the dependencies. In that case, you will need to install
the [dep](https://github.com/golang/dep) tool.
might need to update the dependencies. In that case, you will need to use go's
[built in module tool](https://github.com/golang/go/wiki/Modules#daily-workflow).
After updating a dependency, make sure to re-run `go mod vendor` to update the
vendor directory and update it's corresponding `replace` directive to pin the version.


0 comments on commit ccd881f

Please sign in to comment.