.gitignore 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. # ============================================================
  2. # PHP / Composer
  3. # ============================================================
  4. /vendor/
  5. composer.phar
  6. *.log
  7. # ============================================================
  8. # Python (crawlers/ 采集管道)
  9. # ============================================================
  10. __pycache__/
  11. *.py[cod]
  12. *.pyo
  13. *.egg-info/
  14. .venv/
  15. venv/
  16. env/
  17. .Python
  18. build/
  19. dist/
  20. .pytest_cache/
  21. .mypy_cache/
  22. .ruff_cache/
  23. .coverage
  24. htmlcov/
  25. # ============================================================
  26. # Go
  27. # ============================================================
  28. # 编译产物
  29. *.exe
  30. *.exe~
  31. *.dll
  32. *.so
  33. *.dylib
  34. *.test
  35. *.out
  36. /go/bin/
  37. # 覆盖率/分析产物
  38. coverage.out
  39. *.prof
  40. # 本地环境变量(Go 服务)
  41. .env.local
  42. .env.go
  43. # ============================================================
  44. # 应用运行产物(storage 私有存储,仅保留目录结构)
  45. # ============================================================
  46. /storage/uploads/*
  47. /storage/cache/*
  48. /storage/logs/*
  49. !/storage/uploads/.gitkeep
  50. !/storage/cache/.gitkeep
  51. !/storage/logs/.gitkeep
  52. # ============================================================
  53. # 密钥与环境配置
  54. # ============================================================
  55. .env
  56. .env.*
  57. !.env.example
  58. *.key
  59. *.pem
  60. secrets/
  61. credentials.*
  62. # ============================================================
  63. # 系统 / 编辑器
  64. # ============================================================
  65. .DS_Store
  66. Thumbs.db
  67. .idea/
  68. .vscode/
  69. *.swp
  70. *~