From bcff3f3bb431c013000c83b6fce8f228429cf0d8 Mon Sep 17 00:00:00 2001 From: "Jacob Vosmaer (GitLab)" Date: Tue, 24 Jul 2018 13:17:52 +0000 Subject: Add script to update vendored go libs --- go/README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'go') 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 +``` -- cgit v1.2.1