Skip to content

Instantly share code, notes, and snippets.

@yael-castro
Last active June 5, 2023 00:00
Show Gist options
  • Save yael-castro/ab1f4e4feb768776fa8addf1059f1a5a to your computer and use it in GitHub Desktop.
Save yael-castro/ab1f4e4feb768776fa8addf1059f1a5a to your computer and use it in GitHub Desktop.
.gitignore for Golang projects
# Jetbrains IDEs
.idea
# Vim
*.swp
*.swn
*.swo
# MacOS system file
.DS_Store
# Environment variable files
*.env
# PEM files
*.pem
# Binaries for programs and plugins
*.exe
*.exe~
*.dll
*.so
*.dylib
# Binaries compiled by Go
build/
# Test binary, built with `go test -c`
*.test
# Output of the go coverage tool
*.new
*.old
*.out
# Dependency directories
vendor/
# Redis
*.rdb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment