douxu
|
35ff2f055a
|
refactor: move ModelRT startup assembly into Wire app package
- add app package with Wire providers, injector declaration, and generated
InitializeApp implementation
- move config loading, logger/tracer setup, database, redis, pool, RabbitMQ,
task worker, router, and HTTP server construction out of main.go
- preserve startup warmup, background publishers, task worker launch, and
graceful shutdown behavior behind App methods
- add github.com/google/wire dependency for generated dependency injection
|
2026-06-24 15:18:27 +08:00 |