You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

62 lines
1.6 KiB

# ---> Go
# If you prefer the allow list template instead of the 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 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
go.work.sum
# env file
.env
.env.local
# build artifacts
.build/
.logs/
deploy/console/log/
# go build 误输出的服务二进制(服务名与目录同名,极易误提交)
apps/services/home
apps/services/api
apps/services/gateway
apps/services/console
apps/services/mcp
apps/services/migu
apps/services/timer
# macOS
.DS_Store
# 构建产物与依赖目录
# 2026-08-29 从版本管理中移出:此前 apps/admin/.output 与 apps/admin/node_modules/.cache
# 被误纳入跟踪,每次 nuxt build 都会产生数百个哈希文件的增删,把真实代码 diff 淹没。
# 部署不依赖仓库里这份产物——apps/admin/Dockerfile 是 COPY . . 后 RUN pnpm build 重新构建,
# 且 .dockerignore 已排除 node_modules/.nuxt/.output。
node_modules/
.output/
.nuxt/
# 误入库的运行日志:lego 未配置日志路径时会在工作目录写 ./log,
# 本地跑一次服务或 go test 就被覆写一次,制造无意义 diff。
apps/services/comm/log
# gin 子系统的运行日志:本地跑服务时按时间戳滚动生成(多为 0 字节),
# 与 apps/services/comm/log 同一性质,不进版本管理。
apps/services/lego/sys/gin/log-*.log