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

Struct gormUserRepository

api/pkg/repositories/gorm_user_repository.go:23–28  ·  view source on GitHub ↗

gormUserRepository is responsible for persisting entities.User

Source from the content-addressed store, hash-verified

21
22// gormUserRepository is responsible for persisting entities.User
23type 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
31func NewGormUserRepository(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected