Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AppConfig ¶
type AppConfig struct { AppName string `mapstructure:"APP_NAME"` AppDebug bool `mapstructure:"APP_DEBUG"` AppVersion string `mapstructure:"APP_VERSION"` AppURL string `mapstructure:"APP_URL"` PokeapiURL string `mapstructure:"POKEAPI_URL"` DBDriver string `mapstructure:"DB_DRIVER"` DBDsnURL string `mapstructure:"DB_DSN_URL"` LastSync int64 `mapstructure:"LAST_SYNC"` LimitSync int `mapstructure:"LIMIT_SYNC"` LastMonsterID int `mapstructure:"LAST_MONSTER_ID"` TotalMonsterSync int `mapstructure:"TOTAL_MONSTER_SYNC"` }
func (*AppConfig) InitDbConn ¶
func (cfg *AppConfig) InitDbConn()
Click to show internal directories.
Click to hide internal directories.