mirror of
https://github.com/Mezeporta/Erupe.git
synced 2026-03-22 07:32:32 +01:00
Replace concrete pointer types on the Server struct with interfaces to decouple handlers from PostgreSQL implementations. This enables mock/stub injection for unit tests and opens the door to alternative storage backends (SQLite, in-memory). Also adds 9 missing repo initializations to SetTestDB() (event, achievement, shop, cafe, goocoo, diva, misc, scenario, mercenary) to match NewServer().