mirror of
https://github.com/hay-kot/homebox.git
synced 2024-12-18 21:16:31 +00:00
15 lines
289 B
Go
15 lines
289 B
Go
package services
|
|
|
|
import "github.com/hay-kot/content/backend/internal/repo"
|
|
|
|
type AllServices struct {
|
|
User *UserService
|
|
Admin *AdminService
|
|
}
|
|
|
|
func NewServices(repos *repo.AllRepos) *AllServices {
|
|
return &AllServices{
|
|
User: &UserService{repos},
|
|
Admin: &AdminService{repos},
|
|
}
|
|
}
|