bloat/model/settings.go

16 lines
335 B
Go
Raw Normal View History

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