pgsql

package
v0.0.0-...-57b518e Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Project

type Project struct {
}

func (Project) Create

func (p Project) Create(db sqlx.DB, newP model.Project) error

func (Project) List

func (p Project) List(db sqlx.DB, oID int, filters map[string]string) ([]model.Project, error)

func (Project) ListComplexities

func (p Project) ListComplexities(db sqlx.DB) ([]model.ProjectComplexity, error)

func (Project) ListSizes

func (p Project) ListSizes(db sqlx.DB) ([]model.ProjectSize, error)

func (Project) ListStatuses

func (p Project) ListStatuses(db sqlx.DB) ([]model.ProjectStatus, error)

func (Project) ListTypes

func (p Project) ListTypes(db sqlx.DB) ([]model.ProjectType, error)

func (Project) Update

func (p Project) Update(db sqlx.DB, orgID int, projID uuid.UUID, key string, val interface{}) error

func (Project) UpdateSponsorAreas

func (p Project) UpdateSponsorAreas(db sqlx.DB, orgID int, projID int, sponsorAreaIDs []int) error

func (Project) UpdateStrategicAlignments

func (p Project) UpdateStrategicAlignments(db sqlx.DB, orgID int, projID int, strategicAlignmentIDs []int) error

func (Project) View

func (p Project) View(db sqlx.DB, pUUID uuid.UUID) (model.Project, error)

Jump to

Keyboard shortcuts

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