mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-25 01:03:32 -06:00
formatting,comments
This commit is contained in:
parent
0abe01ea22
commit
81760963b0
5 changed files with 212 additions and 87 deletions
|
|
@ -48,7 +48,7 @@ func Default() *Config {
|
|||
// TODO: find a way of doing this without code repetition, because having to
|
||||
// repeat all values here and elsewhere is annoying and gonna be prone to mistakes.
|
||||
return &Config{
|
||||
DBConfig: &DBConfig{},
|
||||
DBConfig: &DBConfig{},
|
||||
TemplateConfig: &TemplateConfig{},
|
||||
}
|
||||
}
|
||||
|
|
@ -56,7 +56,7 @@ func Default() *Config {
|
|||
// Empty just returns an empty config
|
||||
func Empty() *Config {
|
||||
return &Config{
|
||||
DBConfig: &DBConfig{},
|
||||
DBConfig: &DBConfig{},
|
||||
TemplateConfig: &TemplateConfig{},
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue