models

package
v0.0.0-...-2f4afb3 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Board

type Board struct {
	Id      primitive.ObjectID `json:"_id,omitempty" bson:"_id,omitempty"`
	Title   string             `json:"title,omitempty" bson:"title,omitempty"`
	Desc    string             `json:"desc,omitempty" bson:"desc,omitempty"`
	Content string             `json:"content,omitempty" bson:"content,omitempty"`
	Tasks   *Task              `json:"task"bson:"task,omitempty"`
}

type Task

type Task struct {
	Title   string `json:"title,omitempty" bson:"title,omitempty"`
	Desc    string `json:"desc,omitempty" bson:"desc,omitempty"`
	Content string `json:"content,omitempty" bson:"content,omitempty"`
}

Jump to

Keyboard shortcuts

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