Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AutoMigrate ¶
AutoMigrate auto migrates the required models.
Types ¶
type Config ¶
type Config struct { Hostname string `mapstructure:"hostname"` Username string `mapstructure:"username"` Password string `mapstructure:"password"` DBName string `mapstructure:"dbName"` Port int `mapstructure:"port"` SSLMode bool `mapstructure:"sslMode"` SSLRootCert string `mapstructure:"sslRootCert"` }
Click to show internal directories.
Click to hide internal directories.