aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucas Bremgartner <lucas@bremis.ch>2021-11-13 18:14:24 +0100
committerLucas Bremgartner <lucas@bremis.ch>2021-11-13 18:14:24 +0100
commitfbc053fe49d7f3b4a882ddf9651fc60f8954db21 (patch)
tree3dc98b3fcedc33d8e4768166f7ff0cc30c70dc6a
parentcdd9e946da421758c6f42c427c7bc65c8326155d (diff)
downloadgitignore-fbc053fe49d7f3b4a882ddf9651fc60f8954db21.tar.gz
gitignore-fbc053fe49d7f3b4a882ddf9651fc60f8954db21.zip
Go: Ignore Go workspace file go.work
With Go 1.18, support for Go workspaces will land. Go workspaces are configured in `go.work`, which contains paths to local development versions of modules and therefore is not expected to be commited. See: * https://github.com/golang/go/issues/45713
-rw-r--r--Go.gitignore3
1 files changed, 3 insertions, 0 deletions
diff --git a/Go.gitignore b/Go.gitignore
index 66fd13c9..de67df5e 100644
--- a/Go.gitignore
+++ b/Go.gitignore
@@ -13,3 +13,6 @@
# Dependency directories (remove the comment below to include it)
# vendor/
+
+# Go workspace file
+go.work