project

package
v0.0.0-...-bd846f2 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2020 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Phase

type Phase struct {
	ID          int       `json:"id"`
	ProjectID   int       `json:"project_id"`
	Name        string    `json:"name"`
	Description string    `json:"description"`
	Deadline    time.Time `json:"deadline"`
	DateCreated time.Time `json:"date_created"`
}

type Phases

type Phases []*Phase

func PhasesForProject

func PhasesForProject(id int) (Phases, error)

type Project

type Project struct {
	ID          int    `json:"id"`
	Name        string `json:"name"`
	Description string `json:"description"`
	DateCreated string `json:"date_created"`
}

func (*Project) Phases

func (p *Project) Phases() (Phases, error)

type Projects

type Projects []*Project

func All

func All() (Projects, error)

All returns all projects from projects microservice.

Jump to

Keyboard shortcuts

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