diff options
author | r <r@freesoftwareextremist.com> | 2020-01-28 17:51:00 +0000 |
---|---|---|
committer | r <r@freesoftwareextremist.com> | 2020-01-28 17:58:29 +0000 |
commit | 2af37d47783aac8c650ffd1578e2297b5784c73d (patch) | |
tree | 7b5c7a4b2fa530285bfaa16324e818d97dd00408 /model/post.go | |
parent | 57d2a4288b02fd1245ee85ae629649798578cf6c (diff) | |
download | bloat-2af37d47783aac8c650ffd1578e2297b5784c73d.tar.gz bloat-2af37d47783aac8c650ffd1578e2297b5784c73d.zip |
Refactor everything
Diffstat (limited to 'model/post.go')
-rw-r--r-- | model/post.go | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/model/post.go b/model/post.go new file mode 100644 index 0000000..58997f7 --- /dev/null +++ b/model/post.go @@ -0,0 +1,19 @@ +package model + +type PostFormat struct { + Name string + Type string +} + +type PostContext struct { + DefaultVisibility string + ReplyContext *ReplyContext + Formats []PostFormat + DarkMode bool +} + +type ReplyContext struct { + InReplyToID string + InReplyToName string + ReplyContent string +} |