aboutsummaryrefslogtreecommitdiff
path: root/model
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2019-12-26 11:25:29 +0000
committerr <r@freesoftwareextremist.com>2019-12-26 11:25:29 +0000
commit591360f2a8727e3b1f9e5f28ed3f6d983d6464b8 (patch)
treea65f4b12d04897cb7bdbf6747ba03cca29e3441c /model
parentac4ff88adb9a2526555757f8d4e65c69cafb3788 (diff)
downloadbloat-591360f2a8727e3b1f9e5f28ed3f6d983d6464b8.tar.gz
bloat-591360f2a8727e3b1f9e5f28ed3f6d983d6464b8.zip
Add post format selection
Diffstat (limited to 'model')
-rw-r--r--model/postContext.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/model/postContext.go b/model/postContext.go
index 90e5771..3098437 100644
--- a/model/postContext.go
+++ b/model/postContext.go
@@ -1,8 +1,14 @@
package model
+type PostFormat struct {
+ Name string
+ Type string
+}
+
type PostContext struct {
DefaultVisibility string
ReplyContext *ReplyContext
+ Formats []PostFormat
}
type ReplyContext struct {