docs: future feat todo

This commit is contained in:
ae 2025-04-22 19:39:25 +03:00
parent b19520eb6e
commit 6da8421b2e
Signed by: ae
GPG Key ID: 995EFD5C1B532B3E

View File

@ -37,6 +37,8 @@ type Config struct {
AppEnv string `env:"APP_ENV" envDefault:"production"`
}
// TODO: add flag to enable/disable registration of new users
func init() {
config = Config{}
if err := env.Parse(&config); err != nil {
@ -52,6 +54,7 @@ func init() {
FrontendURL: config.FrontendURL,
}
log.Debug().Msgf("IsProd=%t, Domain='%s', FrontendURL='%s'", svcConfig.IsProd, svcConfig.Domain, svcConfig.FrontendURL)
log.Debug().Msg("Initialization completed")
}