type Config struct {
// AppName is the name of the application. AppName string `env:"APP_NAME" envDefault:"myapp"`
// Server config. Server srv.Config `envPrefix:"SERVER_"`
// Database config. Database db.Config `envPrefix:"DB_"`
// Logging config. Logging Logging `envPrefix:"LOG_"`
}
type Logging struct {
// Level of the logging. Level string `env:"LEVEL" envDefault:"info"`
// Format of the logging. Format string `env:"FORMAT" envDefault:"json"`
}