package repository import ( "gitlab.com/mbugroup/lti-api.git/internal/common/repository" entity "gitlab.com/mbugroup/lti-api.git/internal/entities" "gorm.io/gorm" ) type UserRepository interface { repository.BaseRepository[entity.User] } type UserRepositoryImpl struct { *repository.BaseRepositoryImpl[entity.User] } func NewUserRepository(db *gorm.DB) UserRepository { return &UserRepositoryImpl{ BaseRepositoryImpl: repository.NewBaseRepository[entity.User](db), } }