mirror of
https://github.com/Mezeporta/Erupe.git
synced 2026-05-06 14:24:15 +02: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().