mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2025-05-11 22:38:45 +00:00
Add default settings
This commit is contained in:
parent
ede1bb4275
commit
9e556721c5
7 changed files with 33 additions and 10 deletions
|
@ -3,4 +3,13 @@ package model
|
|||
type Settings struct {
|
||||
DefaultVisibility string `json:"default_visibility"`
|
||||
CopyScope bool `json:"copy_scope"`
|
||||
ThreadInNewTab bool `json:"thread_in_new_tab"`
|
||||
}
|
||||
|
||||
func NewSettings() *Settings {
|
||||
return &Settings{
|
||||
DefaultVisibility: "public",
|
||||
CopyScope: true,
|
||||
ThreadInNewTab: false,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue