16 lines
297 B
Go
16 lines
297 B
Go
package conf
|
|
|
|
import (
|
|
"github.com/deluan/gosonic/repositories"
|
|
"github.com/deluan/gosonic/utils"
|
|
"github.com/karlkfi/inject"
|
|
)
|
|
|
|
var (
|
|
indexRepository repositories.ArtistIndex
|
|
)
|
|
|
|
func init () {
|
|
utils.Graph.Define(&indexRepository, inject.NewProvider(repositories.NewArtistIndexRepository))
|
|
}
|