10 lines
299 B
Go
10 lines
299 B
Go
package config
|
|
|
|
type Config struct {
|
|
Env string `env:"ENV" env-default:"prod"`
|
|
Pandoc string `env:"PANDOC" required:"true"`
|
|
Auth string `env:"AUTH" required:"true"`
|
|
Address string `env:"ADDRESS" required:"true"`
|
|
PostgresDSN string `env:"POSTGRES_DSN" required:"true"`
|
|
}
|