forked from mirrors/homebox
19 lines
423 B
Go
19 lines
423 B
Go
package services
|
|
|
|
import "github.com/hay-kot/content/backend/internal/repo"
|
|
|
|
type AllServices struct {
|
|
User *UserService
|
|
Admin *AdminService
|
|
Location *LocationService
|
|
Labels *LabelService
|
|
}
|
|
|
|
func NewServices(repos *repo.AllRepos) *AllServices {
|
|
return &AllServices{
|
|
User: &UserService{repos},
|
|
Admin: &AdminService{repos},
|
|
Location: &LocationService{repos},
|
|
Labels: &LabelService{repos},
|
|
}
|
|
}
|