projects

package
v0.0.0-...-9e745d5 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2020 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Project

type Project struct {
	ID       int64              `json:"id"`
	Name     string             `json:"name"`
	Status   string             `json:"status"`
	DBClient *postgres.PGClient `json:",omitempty"`
}

func (*Project) Create

func (p *Project) Create() error

Create - create new project and insert data to database

func (*Project) Delete

func (p *Project) Delete() error

Delete -delete project

func (*Project) Update

func (p *Project) Update() error

Update -delete project

Jump to

Keyboard shortcuts

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