Documentation ¶
Index ¶
Constants ¶
View Source
const (
POSTGIS_EXTENSION string = "postgis"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Host string `envconfig:"DB_HOST"` Port int `envconfig:"DB_PORT"` User string `envconfig:"DB_USER"` Password string `envconfig:"DB_PASS"` DbName string `envconfig:"DB_NAME"` DbDriver string `default:"pgx" envconfig:"DB_DRIVER"` }
func LoadConfig ¶
func LoadConfig() *Config
func (Config) GetDataSourceName ¶
Click to show internal directories.
Click to hide internal directories.