Commit Graph

2 Commits

Author SHA1 Message Date
Maxim Slipenko
91937a1fc5 refactor: migrate repo to struct 2025-01-14 11:49:42 +03:00
Maxim Slipenko
52d3ab7791 refactor: migrate db and config packages to use struct-based API
Removed global variables in favor of instance variables. This makes the code more maintainable and making it easier to write unit tests without relying on global state.

Marked the old functions with global state as obsolete, redirecting them to use a new API based on struct in order to rewrite the code using these functions gradually.
2025-01-14 10:11:17 +03:00