2016-03-01 15:38:43 +01:00
|
|
|
package conf
|
|
|
|
|
|
|
|
import (
|
2016-03-02 15:07:24 +01:00
|
|
|
"github.com/deluan/gosonic/domain"
|
2016-03-02 19:18:39 +01:00
|
|
|
"github.com/deluan/gosonic/persistence"
|
|
|
|
"github.com/deluan/gosonic/utils"
|
2016-03-01 15:38:43 +01:00
|
|
|
)
|
|
|
|
|
2016-03-02 19:18:39 +01:00
|
|
|
func init() {
|
2016-03-02 15:07:24 +01:00
|
|
|
utils.DefineSingleton(new(domain.ArtistIndexRepository), persistence.NewArtistIndexRepository)
|
|
|
|
utils.DefineSingleton(new(domain.PropertyRepository), persistence.NewPropertyRepository)
|
2016-03-02 16:48:30 +01:00
|
|
|
utils.DefineSingleton(new(domain.MediaFolderRepository), persistence.NewMediaFolderRepository)
|
2016-03-01 15:38:43 +01:00
|
|
|
}
|