projects

package
Version: 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(size, page int) (projects []models.Project, err error)

	GetByID(id int) (project models.Project, err error)

	Insert(project models.Project) (_ models.Project, err error)

	Update(project models.Project) (_ models.Project, err error)

	Delete(id int) (err error)
}

func NewProjectsDao

func NewProjectsDao() DAO

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL