package repository import ( "github.com/jmoiron/sqlx" "git.amok.space/yevhen/resource-scraper/types/interface" ) type Repository struct { _interface.Rutracker _interface.Prescene _interface.ShareTheBrutality } func New(db *sqlx.DB) *Repository { return &Repository{ Rutracker: NewRutrackerRepository(db), Prescene: NewPresceneRepository(db), ShareTheBrutality: NewShareTheBrutalityRepository(db), } }