You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
synctv/internal/provider/aggregations/aggregations.go

18 lines
356 B
Go

package aggregations
import (
"github.com/synctv-org/synctv/internal/provider"
)
var (
allAggregation []provider.AggregationProviderInterface
)
func addAggregation(ps ...provider.AggregationProviderInterface) {
allAggregation = append(allAggregation, ps...)
}
func AllAggregation() []provider.AggregationProviderInterface {
return allAggregation
}