Update controllers

This commit is contained in:
SowinskiBraeden committed 2021-10-05 19:28:41 -07:00
1 parent 338f508460
commit 2de5b87bb9
20 files changed
+317 -3

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
package models
import (
"time"
"go.mongodb.org/mongo-driver/bson/primitave"
)
type Note struct {
ID primitave.ObjectID `bson:"_id"`
Text string `json:"text"`
Title string `json:"title"`
Created_at time.Time `json:"created_at"`
Updated_at time.Time `json:"updated_at"`
Note_id string `json:"note_id"`
}