mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-03 20:47:35 +03:00
Introduced engine.Scrobbler
Also refactored mocks into their original packages, to avoid cyclic references. Is there a better way to have mocks in GoLang tests?
This commit is contained in:
parent
4aa02e68e5
commit
b660a70688
16 changed files with 158 additions and 47 deletions
|
@ -27,6 +27,7 @@ func init() {
|
|||
utils.DefineSingleton(new(engine.Cover), engine.NewCover)
|
||||
utils.DefineSingleton(new(engine.Playlists), engine.NewPlaylists)
|
||||
utils.DefineSingleton(new(engine.Search), engine.NewSearch)
|
||||
utils.DefineSingleton(new(engine.Scrobbler), engine.NewScrobbler)
|
||||
|
||||
utils.DefineSingleton(new(scanner.CheckSumRepository), persistence.NewCheckSumRepository)
|
||||
utils.DefineSingleton(new(scanner.Scanner), scanner.NewItunesScanner)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue