ignore go workspace files (#33827)

This is a new feature in go1.18 to simplify working on multiple modules.
For example I can easily test sourcegraph with local changes to zoekt by
running the command:

  go work init . ../../google/zoekt/

These files shouldn't be committed, as they are files that are specific
to someones task.

Test Plan: my go.work file doesn't show up in git status
This commit is contained in:
Keegan Carruthers-Smith 2022-04-13 10:20:57 +02:00 committed by GitHub
parent dab3ed4915
commit 738affd42f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

3
.gitignore vendored
View File

@ -170,3 +170,6 @@ annotations/
# Buildkite analytics files
test-reports/
# go workspace files shouldn't be committed
go.work