Update controllers
This commit is contained in:
1 parent
338f508460
commit
2de5b87bb9
20 files changed
+317
-3
No files matched your search
@@ -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"`
|
||||
}
|
||||
Reference in new issue
Block a user