package adminbenefactoraggregatorservice import ( "context" "git.gocasts.ir/ebhomengo/niki/entity" ) type Repository interface { GetBenefactorByIds(ctx context.Context, benefactorIDs []any) (map[uint]entity.Benefactor, error) } type Service struct { repo Repository } func New(repo Repository) Service { return Service{repo: repo} }