diff options
| author | Alexander Kavon <hawk@alexkavon.com> | 2023-11-28 00:45:37 -0500 |
|---|---|---|
| committer | Alexander Kavon <hawk@alexkavon.com> | 2023-11-28 00:45:37 -0500 |
| commit | 7d7059d53891bc1abb284d9b288505a5d406b307 (patch) | |
| tree | f3ae7435a0a67ce1e5c939966738fea01bb9644e /src/post/post_model.go | |
| parent | d7d2b376405d91a201b8b830160458c5dd6df4a9 (diff) | |
build ui and render templates, build routes
Diffstat (limited to 'src/post/post_model.go')
| -rw-r--r-- | src/post/post_model.go | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/post/post_model.go b/src/post/post_model.go deleted file mode 100644 index fc5dc2a..0000000 --- a/src/post/post_model.go +++ /dev/null @@ -1,15 +0,0 @@ -package post - -import ( - "time" - - "gitlab.com/alexkavon/newsstand/src/user" -) - -type Post struct { - Title string `json:"title"` - Body string `json:"body"` - User user.User `json:"user"` - Created time.Time `json:"created"` - Updated time.Time `json:"updated"` -} |
