bloat/model/settings.go

18 lines
407 B
Go
Raw Normal View History

2019-12-21 11:13:21 +00:00
package model
type Settings struct {
DefaultVisibility string `json:"default_visibility"`
2019-12-27 08:06:43 +00:00
CopyScope bool `json:"copy_scope"`
2019-12-29 11:32:24 +00:00
ThreadInNewTab bool `json:"thread_in_new_tab"`
2019-12-31 11:00:21 +00:00
MaskNSFW bool `json:"mask_nfsw"`
2019-12-29 11:32:24 +00:00
}
func NewSettings() *Settings {
return &Settings{
DefaultVisibility: "public",
CopyScope: true,
ThreadInNewTab: false,
2019-12-31 11:00:21 +00:00
MaskNSFW: true,
2019-12-29 11:32:24 +00:00
}
2019-12-21 11:13:21 +00:00
}