From 25c63fff04713b555799241a931758eb4e09cb07 Mon Sep 17 00:00:00 2001 From: Ashwin Gopalsamy <47941624+ashwingopalsamy@users.noreply.github.com> Date: Sun, 12 Jan 2025 08:34:53 +0530 Subject: [PATCH 1/2] feat(go.gitignore): ignore code coverage and IDE --- Go.gitignore | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Go.gitignore b/Go.gitignore index 6f72f89261..ed2027265a 100644 --- a/Go.gitignore +++ b/Go.gitignore @@ -11,8 +11,11 @@ # Test binary, built with `go test -c` *.test -# Output of the go coverage tool, specifically when used with LiteIDE +# Code coverage profiles and other test artifacts *.out +coverage.* +*.coverprofile +profile.cov # Dependency directories (remove the comment below to include it) # vendor/ @@ -23,3 +26,7 @@ go.work.sum # env file .env + +# Editor/IDE +.idea/ +.vscode/ From 1d7e3275a461a673b531d14a390c5238f04503a7 Mon Sep 17 00:00:00 2001 From: Ashwin Gopalsamy <47941624+ashwingopalsamy@users.noreply.github.com> Date: Sun, 12 Jan 2025 09:00:21 +0530 Subject: [PATCH 2/2] fix(go.gitignore): mark IDE-related ignore files as optional --- Go.gitignore | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Go.gitignore b/Go.gitignore index ed2027265a..aaadf736e5 100644 --- a/Go.gitignore +++ b/Go.gitignore @@ -28,5 +28,5 @@ go.work.sum .env # Editor/IDE -.idea/ -.vscode/ +# .idea/ +# .vscode/