Refactor everything

This commit is contained in:
r 2020-01-28 17:51:00 +00:00
parent 57d2a4288b
commit 2af37d4778
26 changed files with 1320 additions and 1361 deletions

19
model/post.go Normal file
View file

@ -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
}