mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2025-05-11 22:38:45 +00:00
Refactor everything
This commit is contained in:
parent
57d2a4288b
commit
2af37d4778
26 changed files with 1320 additions and 1361 deletions
19
model/post.go
Normal file
19
model/post.go
Normal 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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue