Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CourseRepository ¶
type DbCourseRepository ¶
type DbCourseRepository struct {
// contains filtered or unexported fields
}
func NewCourseRepository ¶
func NewCourseRepository(db *gorm.DB) *DbCourseRepository
func (*DbCourseRepository) List ¶
func (repository *DbCourseRepository) List() []model.Course
type DbTranscriptRepository ¶
type DbTranscriptRepository struct {
// contains filtered or unexported fields
}
func NewTranscriptRepository ¶
func NewTranscriptRepository(db *gorm.DB) *DbTranscriptRepository
func (*DbTranscriptRepository) ClearAll ¶
func (repository *DbTranscriptRepository) ClearAll()
func (*DbTranscriptRepository) Save ¶
func (repository *DbTranscriptRepository) Save(course *model.CourseTranscript)
type DbUserRepository ¶
type DbUserRepository struct {
// contains filtered or unexported fields
}
func NewUserRepository ¶
func NewUserRepository(db *gorm.DB) *DbUserRepository
func (*DbUserRepository) GetUser ¶
func (repository *DbUserRepository) GetUser() *model.User
type TranscriptRepository ¶
type TranscriptRepository interface { ClearAll() Save(course *model.CourseTranscript) }
type UserRepository ¶
Click to show internal directories.
Click to hide internal directories.