Versions in this module Expand all Collapse all v1 v1.0.0 Aug 24, 2023 Changes in this version + func NewTaskRepository(db *sql.DB) dependency.TaskRepositoryDependency + type TaskRepository struct + func (t *TaskRepository) All(ctx context.Context) (tasks []*models.TaskModel, err error) + func (t *TaskRepository) Delete(ctx context.Context, id int) error + func (t *TaskRepository) Get(ctx context.Context, id int) (*models.TaskModel, error) + func (t *TaskRepository) Save(ctx context.Context, task models.TaskModel) error + func (t *TaskRepository) Update(ctx context.Context, id int, columns map[string]interface{}) error