From fbc053fe49d7f3b4a882ddf9651fc60f8954db21 Mon Sep 17 00:00:00 2001 From: Lucas Bremgartner Date: Sat, 13 Nov 2021 18:14:24 +0100 Subject: [PATCH] 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 --- Go.gitignore | 3 +++ 1 file changed, 3 insertions(+) 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