Commit 83d11f4d authored by Nick Thomas's avatar Nick Thomas

Move go code up one level

parent 7d5229db
# Go executables for gitlab-shell
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
```
...@@ -8,7 +8,7 @@ import ( ...@@ -8,7 +8,7 @@ import (
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"google.golang.org/grpc" "google.golang.org/grpc"
"gitlab.com/gitlab-org/gitlab-shell/go/internal/config" "gitlab.com/gitlab-org/gitlab-shell/internal/config"
) )
func makeHandler(t *testing.T, err error) func(context.Context, *grpc.ClientConn) (int32, error) { func makeHandler(t *testing.T, err error) func(context.Context, *grpc.ClientConn) (int32, error) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment