Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDBConnection ¶
func NewDBConnection(conf YamlConfig) *gorm.DB
Types ¶
type Application ¶
type BaseConfig ¶
type BaseConfig struct { DBConnection *gorm.DB YamlConfig YamlConfig }
func NewBaseConfig ¶
func NewBaseConfig() BaseConfig
type YamlConfig ¶
type YamlConfig struct { Application Application `yaml:"Application"` MySQL MySQL `yaml:"MySQL"` }
Click to show internal directories.
Click to hide internal directories.