Add .gitignore file for Go project

This commit is contained in:
2026-03-03 10:30:52 +08:00
parent 070b7685d5
commit 80d2794531

53
.gitignore vendored Normal file
View File

@@ -0,0 +1,53 @@
# Binaries for programs and plugins
*.exe
*.exe~
*.dll
*.so
*.dylib
# Test binary, built with `go test -c`
*.test
# Output of the go coverage tool, specifically when used with LiteIDE
*.out
# Dependency directories (remove the comment below to include it)
# vendor/
# Go workspace file
go.work
# IDE directories and files
.vscode/
.idea/
*.swp
*.swo
*~
# OS generated files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
# Test directory
testprogram/
# Build artifacts
*.tmp
*.temp
build/
dist/
# Log files
*.log
*.err
*.out.log
# Configuration files with sensitive information
*.local
*.secret
*.env