Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TaskRepository ¶
type TaskRepository struct {
// contains filtered or unexported fields
}
func NewTaskRepo ¶
func NewTaskRepo(db *sql.DB) TaskRepository
func (TaskRepository) CreateTask ¶
func (tr TaskRepository) CreateTask(task Task) (int, error)
func (TaskRepository) DeleteTask ¶
func (tr TaskRepository) DeleteTask(id, listId, userId int) (bool, error)
func (TaskRepository) GetAllTasks ¶
func (tr TaskRepository) GetAllTasks(userId, listId int) ([]Task, error)
type WeightTask ¶
type WeightTask struct{}
Click to show internal directories.
Click to hide internal directories.