Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountRepository ¶
type AccountRepository interface { GetAccountByUid(uid string) (account model.Account, err error) CreateAccountByUid(uid string) (account model.Account, err error) UpdateAccount(account model.Account) error }
func NewAccountRepository ¶
func NewAccountRepository(db *gorm.DB) AccountRepository
type AssignmentRepository ¶
type AssignmentRepository interface { GetAllAssignment(author string, formPresent bool) ([]model.Assignment, error) CreateAssignment(assignment *model.Assignment) error GetByID(id int) (*model.Assignment, error) Update(assignment *model.Assignment) error DeleteAssignment(assignmentId int) error }
func NewAssignmentRepository ¶
Click to show internal directories.
Click to hide internal directories.