project

package
v0.0.0-...-ede9753 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2023 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type P

type P struct {
	ID          uuid.UUID
	CreatedAt   time.Time
	Name        string
	Description string
	Artifacts   []*artifact.A
}

func FromDBModel

func FromDBModel(m *model.Project) (*P, error)

func New

func New(name, description string) *P

func (*P) ToExtendedProjectRestType

func (p *P) ToExtendedProjectRestType() generated.ExtendedProject

func (*P) ToProjectDatabaseType

func (p *P) ToProjectDatabaseType() *model.Project

func (*P) ToProjectRestType

func (p *P) ToProjectRestType() generated.Project

Jump to

Keyboard shortcuts

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