بنقرة واحدة
db-infra-mocks
// Propose minimal seams and local substitutes so tests run without real RDBMS/Redis/Mongo infrastructure.
// Propose minimal seams and local substitutes so tests run without real RDBMS/Redis/Mongo infrastructure.
Use Go AST-aware analysis to enumerate symbols, extract signatures, and propose mechanically safe refactors (read-only by default).
Build and run the project locally to reproduce compile/runtime issues in a safe, non-production way.
Run a CI-like pipeline locally (format, lint, vet, static-analysis, tests) and summarize per-step results with remediation guidance.
Apply repository-standard formatting to minimize diff noise and meet linter expectations.
Rapid, focused navigation to locate definitions/usages and map the impact of proposed changes.
Diagnose configuration-related failures, enumerate required env vars, and guide safe local test setup (no secrets).
| name | db-infra-mocks |
| description | Propose minimal seams and local substitutes so tests run without real RDBMS/Redis/Mongo infrastructure. |
| license | MIT |
| metadata | {"mode":"design","purpose":"infra"} |
database/ package).gdb.InitDB() / gdb.GetDB() (GORM *gorm.DB).gdb.InitRedis() / gdb.GetRedis() (radix v4 radix.Client).gdb.InitMongo() / gdb.GetMongo() (*mongo.Client from official driver v2).gdb.CloseAllDB().driver: "sqlite3") for simple GORM-backed tests.radix.Client.path:line of client construction and usage.test-runner, patch-applier, migration-helper