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: 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(projectID, size, page int) (lists []models.List, err error)

	GetByID(listID int) (list models.List, err error)

	GetListCount(projectID int) (count int, err error)

	GetMaxPosition(projectID int64) (position int16, err error)

	Insert(list models.List) (_ models.List, err error)

	Update(list models.List) (_ models.List, err error)

	Delete(listID int) (err error)
}

func NewListDao

func NewListDao() DAO

Jump to

Keyboard shortcuts

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