]> source.dussan.org Git - gitignore.git/commitdiff
Go: Ignore Go workspace file go.work 3884/head
authorLucas Bremgartner <lucas@bremis.ch>
Sat, 13 Nov 2021 17:14:24 +0000 (18:14 +0100)
committerLucas Bremgartner <lucas@bremis.ch>
Sat, 13 Nov 2021 17:14:24 +0000 (18:14 +0100)
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

Go.gitignore

index 66fd13c903cac02eb9657cd53fb227823484401d..de67df5e3740d48d2728dd8c405a70a4dd0e4856 100644 (file)
@@ -13,3 +13,6 @@
 
 # Dependency directories (remove the comment below to include it)
 # vendor/
+
+# Go workspace file
+go.work