gormUserRepository is responsible for persisting entities.User
| 21 | |
| 22 | // gormUserRepository is responsible for persisting entities.User |
| 23 | type gormUserRepository struct { |
| 24 | logger telemetry.Logger |
| 25 | tracer telemetry.Tracer |
| 26 | cache *ristretto.Cache[string, entities.AuthContext] |
| 27 | db *gorm.DB |
| 28 | } |
| 29 | |
| 30 | // NewGormUserRepository creates the GORM version of the UserRepository |
| 31 | func NewGormUserRepository( |
nothing calls this directly
no outgoing calls
no test coverage detected