Skip to content

Commit a3e80af

Browse files
authored
chore: add explicit mapstructure tags to Frontier config struct (#1211)
1 parent fc8e346 commit a3e80af

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

config/config.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ import (
1818

1919
type Frontier struct {
2020
// configuration version
21-
Version int `yaml:"version"`
22-
Log logger.Config `yaml:"log"`
23-
NewRelic NewRelic `yaml:"new_relic"`
24-
App server.Config `yaml:"app"`
25-
DB db.Config `yaml:"db"`
26-
UI server.UIConfig `yaml:"ui"`
27-
SpiceDB spicedb.Config `yaml:"spicedb"`
28-
Billing billing.Config `yaml:"billing"`
21+
Version int `yaml:"version" mapstructure:"version"`
22+
Log logger.Config `yaml:"log" mapstructure:"log"`
23+
NewRelic NewRelic `yaml:"new_relic" mapstructure:"new_relic"`
24+
App server.Config `yaml:"app" mapstructure:"app"`
25+
DB db.Config `yaml:"db" mapstructure:"db"`
26+
UI server.UIConfig `yaml:"ui" mapstructure:"ui"`
27+
SpiceDB spicedb.Config `yaml:"spicedb" mapstructure:"spicedb"`
28+
Billing billing.Config `yaml:"billing" mapstructure:"billing"`
2929
}
3030

3131
type NewRelic struct {

0 commit comments

Comments
 (0)