diff options
author | Lucas Bremgartner <lucas@bremis.ch> | 2021-11-13 18:14:24 +0100 |
---|---|---|
committer | Lucas Bremgartner <lucas@bremis.ch> | 2021-11-13 18:14:24 +0100 |
commit | fbc053fe49d7f3b4a882ddf9651fc60f8954db21 (patch) | |
tree | 3dc98b3fcedc33d8e4768166f7ff0cc30c70dc6a | |
parent | cdd9e946da421758c6f42c427c7bc65c8326155d (diff) | |
download | gitignore-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.gitignore | 3 |
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 |