summaryrefslogtreecommitdiff
path: root/go/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'go/README.md')
-rw-r--r--go/README.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/go/README.md b/go/README.md
index dfaa0da..6bbc03e 100644
--- a/go/README.md
+++ b/go/README.md
@@ -4,3 +4,15 @@ This directory contains Go executables for use in gitlab-shell. To add
a new command `foobar` create a subdirectory `cmd/foobar` and put your
code in `package main` under `cmd/foobar`. This will automatically get
compiled into `bin/foobar` by `../bin/compile`.
+
+## Vendoring
+
+We use vendoring in order to include third-party Go libraries. This
+project uses [govendor](https://github.com/kardianos/govendor).
+
+To update e.g. `gitaly-proto` run the following command in the root
+directory of the project.
+
+```
+support/go-update-vendor gitlab.com/gitlab-org/gitaly-proto/go@v0.109.0
+```