Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ILabelRepository ¶
type ILabelRepository interface { List() (labels []models.Label, err error) Create(label models.Label) (models.Label, error) Retrieve(id uint) (label models.Label, err error) Update(label models.Label) (models.Label, error) Delete(id uint) error }
func NewLabel ¶
func NewLabel(tx *gorm.DB) ILabelRepository
type ITaskRepository ¶
type ITaskRepository interface { List() (tasks []models.Task, err error) Create(task models.Task) (models.Task, error) Retrieve(id uint) (task models.Task, err error) Update(task models.Task) (models.Task, error) Delete(id uint) error }
func NewTask ¶
func NewTask(tx *gorm.DB) ITaskRepository
Click to show internal directories.
Click to hide internal directories.