package todo import ( "github.com/olebedev/config" "github.com/wtfutil/wtf/cfg" ) const configKey = "todo" type Settings struct { common *cfg.Common filePath string } func NewSettingsFromYAML(name string, ymlConfig *config.Config, globalConfig *config.Config) *Settings { settings := Settings{ common: cfg.NewCommonSettingsFromModule(name, ymlConfig, globalConfig), filePath: ymlConfig.UString("filename"), } return &settings }