package repository

import (
	categoryrepository "legalgo-BE-go/internal/accessor/category"
	newsrepository "legalgo-BE-go/internal/accessor/news"
	"legalgo-BE-go/internal/accessor/oss"
	redisaccessor "legalgo-BE-go/internal/accessor/redis"
	staffrepository "legalgo-BE-go/internal/accessor/staff"
	subscriberepository "legalgo-BE-go/internal/accessor/subscribe"
	subscribeplanrepository "legalgo-BE-go/internal/accessor/subscribeplan"
	tagrepository "legalgo-BE-go/internal/accessor/tag"
	userrepository "legalgo-BE-go/internal/accessor/user_repository"

	"go.uber.org/fx"
)

var Module = fx.Module("repository", fx.Provide(
	staffrepository.New,
	userrepository.New,
	redisaccessor.New,
	subscribeplanrepository.New,
	subscriberepository.New,
	tagrepository.New,
	categoryrepository.New,
	newsrepository.New,
	oss.New,
))
