setup location repository

This commit is contained in:
Hayden 2022-08-30 19:21:18 -08:00
parent 630fe83de5
commit 9583847f94
11 changed files with 267 additions and 25 deletions

View file

@ -7,6 +7,7 @@ type AllRepos struct {
Users *EntUserRepository
AuthTokens *EntTokenRepository
Groups *EntGroupRepository
Locations *EntLocationRepository
}
func EntAllRepos(db *ent.Client) *AllRepos {
@ -14,5 +15,6 @@ func EntAllRepos(db *ent.Client) *AllRepos {
Users: &EntUserRepository{db},
AuthTokens: &EntTokenRepository{db},
Groups: &EntGroupRepository{db},
Locations: &EntLocationRepository{db},
}
}