- Remove unnecessary Node.js and build tool entries - Keep only relevant entries for Go web application - Preserve Bruno collection, static assets, and Go template files - Add clarifying comments for project-specific entries
121 lines
2.4 KiB
Plaintext
121 lines
2.4 KiB
Plaintext
# ---> Go
|
|
# If you prefer to allow list template instead of deny list, see community template:
|
|
# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore
|
|
#
|
|
# Binaries for programs and plugins
|
|
*.exe
|
|
*.exe~
|
|
*.dll
|
|
*.so
|
|
*.dylib
|
|
|
|
# Test binary, built with `go test -c`
|
|
*.test
|
|
|
|
# Output of go coverage tool, specifically when used with LiteIDE
|
|
*.out
|
|
|
|
# Dependency directories (remove the comment below to include it)
|
|
# vendor/
|
|
|
|
# Go workspace file
|
|
go.work
|
|
go.work.sum
|
|
|
|
# env file
|
|
.env
|
|
.env.*
|
|
!.env.example
|
|
|
|
# ---> Node (not applicable to Go web app)
|
|
# Logs
|
|
# .cache
|
|
# *.log
|
|
# npm-debug.log*
|
|
# yarn-debug.log*
|
|
# lerna-debug.log*
|
|
# .pnpm-debug.log*
|
|
# Diagnostic reports
|
|
# report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
|
|
# Runtime data
|
|
# pids
|
|
# *.pid
|
|
# *.seed
|
|
# *.pid.lock
|
|
# Directory for instrumented libs generated by jscoverage/JSCover
|
|
# lib-cov
|
|
# Coverage directory used by tools like istanbul
|
|
# coverage
|
|
# *.lcov
|
|
# nyc test coverage
|
|
# .nyc_output
|
|
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
|
|
# .grunt
|
|
# Bower dependency directory (https://bower.io/)
|
|
# bower_components
|
|
# jspm_packages/
|
|
# node-waf configuration
|
|
# .lock-wscript
|
|
# Compiled binary addons (https://node.js.org/api/addons.html)
|
|
# build/Release
|
|
# Dependency directories
|
|
# node_modules/
|
|
# bower_components/
|
|
# jspm_packages/
|
|
# Snowpack dependency directory (https://snowpack.dev/)
|
|
# web_modules/
|
|
# TypeScript cache
|
|
# *.tsbuildinfo
|
|
# Optional npm cache directory
|
|
# .npm
|
|
# parcel-bundler cache (https://parceljs.org/)
|
|
# .cache
|
|
# .parcel-cache
|
|
# Svelte build outputs (Go templates use different pattern)
|
|
# dist/
|
|
# build/
|
|
# .svelte-kit/
|
|
# /package/
|
|
# /output
|
|
# Next.js build output
|
|
# .next
|
|
# out
|
|
# Nuxt.js build / generate output
|
|
# .nuxt
|
|
# dist
|
|
# Gatsby files
|
|
# .gatsby
|
|
# public
|
|
# vuepress build output
|
|
# .vuepress/dist
|
|
# .vitepress/build output
|
|
# **/.vitepress/dist
|
|
# .vitepress/cache directory
|
|
# Docusaurus cache and generated files
|
|
# .docusaurus
|
|
# Serverless directories
|
|
# .serverless/
|
|
# FuseBox cache
|
|
# .fusebox/
|
|
# DynamoDB Local files
|
|
# .dynamodb/
|
|
# TernJS port file
|
|
# .tern-port
|
|
# Stores VSCode versions used for testing VSCode extensions
|
|
# .vscode-test
|
|
# nyc test coverage
|
|
# coverage
|
|
# .nyc_output
|
|
# ---> Bruno (keep relevant parts)
|
|
# Bruno collection file
|
|
bruno/collection.bru
|
|
# Generated static assets
|
|
cmd/server/static/
|
|
# Built binaries (keep for now - remove if desired)
|
|
main
|
|
server
|
|
# Generated templ files (keep)
|
|
templates/*_templ.go
|
|
|
|
uploads/
|