Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteMigrations ¶
func ExecuteMigrations()
func LoadConfig ¶
func LoadConfig()
Types ¶
type ApplicationProperties ¶
type Configuration ¶
type Configuration struct {
Application ApplicationProperties `yaml:"app"`
Data DataProperties `yaml:"data"`
Server ServerProperties `yaml:"server"`
}
var CONFIG Configuration
type DataProperties ¶
type DataProperties struct {
JDBC JDBCProperties `yaml:"jdbc"`
Datasource DatasourceProperties `yaml:"datasource"`
}
type DatasourceProperties ¶
type DatasourceProperties struct {
Postgres PostgresProperties `yaml:"postgres"`
}
type GormProperties ¶
type GormProperties struct {
Logger LoggerProperties `yaml:"logger"`
}
type JDBCProperties ¶
type JDBCProperties struct {
Gorm GormProperties `yaml:"gorm"`
}
type LoggerProperties ¶
type LoggerProperties struct {
Level string `yaml:"level"`
}
type PostgresProperties ¶
Click to show internal directories.
Click to hide internal directories.