MCPcopy Index your code
hub / github.com/NdoleStudio/httpsms / UserRepository

Method UserRepository

api/pkg/di/container.go:1750–1758  ·  view source on GitHub ↗

UserRepository registers a new instance of repositories.UserRepository

()

Source from the content-addressed store, hash-verified

1748
1749// UserRepository registers a new instance of repositories.UserRepository
1750func (container *Container) UserRepository() repositories.UserRepository {
1751 container.logger.Debug("creating GORM repositories.UserRepository")
1752 return repositories.NewGormUserRepository(
1753 container.Logger(),
1754 container.Tracer(),
1755 container.UserRistrettoCache(),
1756 container.DB(),
1757 )
1758}
1759
1760// PhoneRistrettoCache creates an in-memory *ristretto.Cache[string, *entities.Phone]
1761func (container *Container) PhoneRistrettoCache() *ristretto.Cache[string, *entities.Phone] {

Callers 7

AppMethod · 0.95
EntitlementServiceMethod · 0.95
BillingServiceMethod · 0.95
UserServiceMethod · 0.95
LemonsqueezyServiceMethod · 0.95

Calls 5

LoggerMethod · 0.95
TracerMethod · 0.95
UserRistrettoCacheMethod · 0.95
DBMethod · 0.95
DebugMethod · 0.65

Tested by

no test coverage detected