From 591360f2a8727e3b1f9e5f28ed3f6d983d6464b8 Mon Sep 17 00:00:00 2001 From: r Date: Thu, 26 Dec 2019 11:25:29 +0000 Subject: Add post format selection --- model/postContext.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'model') 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 { -- cgit v1.2.3