tasks

package
v0.0.0-...-d482384 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 24, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DAO

type DAO interface {
	WithTx(tx *postgres.DBQuery) DAO

	Get(listID, size, page int) (lists []models.Task, err error)

	GetByID(taskID int) (task models.Task, err error)

	Insert(task models.Task) (_ models.Task, err error)

	Update(task models.Task) (_ models.Task, err error)

	Delete(taskID int) (err error)
}

func NewTaskDao

func NewTaskDao() DAO

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL