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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

	Get(listID, size, page int) (tasks []models.Task, extErr exterrors.ExtError)

	GetByID(taskID int) (task models.Task, extErr exterrors.ExtError)

	Create(listID int64, name, description string, position int16) (task models.Task, extErr exterrors.ExtError)

	Update(taskID int, name, description string, position int16, listID int64) (task models.Task, extErr exterrors.ExtError)

	Delete(taskID int) (extErr exterrors.ExtError)
}

func New

func New() (_ Service, err error)

Jump to

Keyboard shortcuts

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