move flag to options namespace

This commit is contained in:
Hayden 2024-01-18 13:36:27 -06:00
parent 4e608dc054
commit b92d7f988d
No known key found for this signature in database
GPG key ID: 17CF79474E257545
2 changed files with 6 additions and 6 deletions

View file

@ -17,8 +17,7 @@ const (
type Config struct {
conf.Version
Mode string `yaml:"mode" conf:"default:development"` // development or production
CurrencyConfig string `yaml:"currencies"`
Mode string `yaml:"mode" conf:"default:development"` // development or production
Web WebConfig `yaml:"web"`
Storage Storage `yaml:"storage"`
Log LoggerConf `yaml:"logger"`
@ -31,6 +30,7 @@ type Config struct {
type Options struct {
AllowRegistration bool `yaml:"disable_registration" conf:"default:true"`
AutoIncrementAssetID bool `yaml:"auto_increment_asset_id" conf:"default:true"`
CurrencyConfig string `yaml:"currencies"`
}
type DebugConf struct {