Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cfg = Config{}
Cfg stores config values
Functions ¶
Types ¶
type Config ¶
type Config struct { APIRouterLoggerFormat string `` //nolint /* 234-byte string literal not displayed */ AppEnv string `env:"APP_ENV" envDefault:"development"` CorsOrigins []string `env:"CORS_ORIGINS" envDefault:"http://localhost:8080" envSeparator:","` FirestoreCollection string `env:"FIRESTORE_COLLECTION" envDefault:"dev"` GoogleAPIKey string `env:"GOOGLE_API_KEY,required"` Port string `env:"PORT" envDefault:"3000"` ProjectID string `env:"PROJECT_ID" envDefault:"youtubegoespodcast"` }
Config stores all data from env variables
Click to show internal directories.
Click to hide internal directories.