lists

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(projectID, size, page int) (lists []models.List, extErr exterrors.ExtError)

	GetByID(listID int) (list models.List, extErr exterrors.ExtError)

	GetMaxPosition(projectID int64) (position int16, extErr exterrors.ExtError)

	Create(projectID int64, name, status string, position int16) (list models.List, extErr exterrors.ExtError)

	Update(listID int, name, status string, position int16) (list models.List, extErr exterrors.ExtError)

	Delete(projectID, listID 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