Defaults and start of config
This commit is contained in:
parent
3086b0e9b4
commit
1fbdf7fc9d
6 changed files with 128 additions and 10 deletions
|
@ -26,3 +26,19 @@ type Note struct {
|
|||
OriginServer string // Url of the origin server. Also the primary key for those
|
||||
Tags []string `gorm:"serializer:json"` // Hashtags
|
||||
}
|
||||
|
||||
var placeholderNote = &Note{
|
||||
ID: "placeholder",
|
||||
Creator: "placeholder",
|
||||
Remote: false,
|
||||
RawContent: "placeholder",
|
||||
ContentWarning: nil,
|
||||
Attachments: []string{},
|
||||
Emotes: []string{},
|
||||
RepliesTo: nil,
|
||||
Quotes: nil,
|
||||
Target: NOTE_TARGET_HOME,
|
||||
Pings: []string{},
|
||||
OriginServer: "placeholder",
|
||||
Tags: []string{},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue