go01Gin 集成测试:testcontainers 起真依赖跑 CI用 testcontainers-go 在测试里拉起真实 MySQL 和 Redis 容器,跑迁移和接口测试,再接到 GitHub Actions,让每次提交都过一遍真依赖。2026-09-12 22:01:490 阅读