Browse Source

Add `updated` property on posts

Matt Baer 1 year ago
parent
commit
21dfda1c03
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      post.go

+ 1
- 0
post.go View File

@@ -18,6 +18,7 @@ type (
18 18
 		RTL       *bool     `json:"rtl"`
19 19
 		Listed    bool      `json:"listed"`
20 20
 		Created   time.Time `json:"created"`
21
+		Updated   time.Time `json:"updated"`
21 22
 		Title     string    `json:"title"`
22 23
 		Content   string    `json:"body"`
23 24
 		Views     int64     `json:"views"`