Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostgresCfg ¶
type PostgresCfg struct { Username string `env:"POSTGRES_USER" env-default:"postgres"` Password string `env:"POSTGRES_PASSWORD" env-default:"postgres"` Port string `env:"PG_PORT" env-default:"5432"` Host string `env:"POSTGRES_HOST" env-default:"localhost"` NameDB string `env:"POSTGRES_DB" env-default:"postgres"` InitFilePath string `env:"PG_INIT_SQL_PATH" env-default:"./internal/sql/task.sql"` }
Click to show internal directories.
Click to hide internal directories.