Define a note
This commit is contained in:
11
internal/models/note.go
Normal file
11
internal/models/note.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package models
|
||||
|
||||
import (
|
||||
"time"
|
||||
)
|
||||
|
||||
type Note struct {
|
||||
ID int `json:"id"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
Content string `json:"content"`
|
||||
}
|
||||
Reference in New Issue
Block a user