Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Note ¶
type Note struct {
NoteID string `json:"noteId" bson:"_id"`
Title string `json:"title" bson:"title"`
Description string `json:"description" bson:"description"`
Tags *[]string `json:"tags" bson:"tags"`
Completed bool `json:"completed" bson:"completed"`
CreatedAt time.Time `json:"createdAt" bson:"createdAt"`
UpdatedAt time.Time `json:"UpdatedAt" bson:"UpdatedAt"`
}
Note struct defines entity of resource NOTE. bson tags are used by mongo-driver. for NoteID uuid as string is used to prevent dependency on mongo object id.
Click to show internal directories.
Click to hide internal directories.