config: Properly use yaml template
This commit is contained in:
parent
945329a080
commit
30c25b8e2a
9 changed files with 168 additions and 78 deletions
|
|
@ -8,7 +8,7 @@ type DatabaseConfig struct {
|
|||
|
||||
// Prefix for new users and data setss
|
||||
UserPrefix string `yaml:"user_prefix" default:"wisski-distillery-" validate:"slug"`
|
||||
DataPrefix string `yaml:"fragment_prefix" default:"wisski-distillery-" validate:"slug"`
|
||||
DataPrefix string `yaml:"data_prefix" default:"wisski-distillery-" validate:"slug"`
|
||||
}
|
||||
|
||||
type SQLConfig struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue