projects_domain

package
v0.0.0-...-5e2e8f1 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2024 License: MIT Imports: 3 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 {
	ID          primitive.ObjectID               `bson:"_id" json:"id"`
	Title       string                           `bson:"title" json:"title"`
	Description []string                         `bson:"description" json:"description"`
	Techs       []technologies_domain.Technology `bson:"techs"`
	Display     bool                             `bson:"display" json:"display"`
}

func NewProject

func NewProject(
	title string,
	description []string,
	techs []technologies_domain.Technology,
) (*Project, error)

func (*Project) Validate

func (p *Project) Validate() error

Jump to

Keyboard shortcuts

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