Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BulkIndexNotes ¶
func BulkSaveNotes ¶
BulkSaveNotes inserts the entire array of notes from the user session to the database
Types ¶
type Note ¶
type Note struct { ID primitive.ObjectID `bson:"_id,omitempty"` FileID string `bson:"fileID,omitempty"` Tag string `bson:"tag,omitempty"` MessageID int `bson:"messageID,omitempty"` MessageFromChatID int64 `bson:"messageFromChatID,omitempty"` Content string `bson:"content,omitempty"` }
Note denotes how a note is saved in the database
Click to show internal directories.
Click to hide internal directories.