Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
func (*Config) ConnectionString ¶
type DB ¶
type DB struct { HOST string `env:"DB_HOST" envDefault:"localhost"` USER string `env:"DB_USER" envDefault:"club_hub"` PASSWORD string `env:"DB_PASSWORD" envDefault:""` DBNAME string `env:"DB_NAME" envDefault:"club_hub"` PORT string `env:"DB_PORT" envDefault:"3306"` SSLMODE string `env:"DB_SSL_MODE" envDefault:"disable"` TIMEZONE string `env:"DB_TIME_ZONE" envDefault:"America/Bogota"` RELATIONS string `env:"DB_METADATA_RELATIONS" envDefault:""` }
Click to show internal directories.
Click to hide internal directories.