Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithMYSQLByDSN ¶
WithMYSQLByDSN is a short form of WithMYSQL by using dsn only.
Types ¶
type Config ¶
type Config struct { DriverName string DSN string Conn gorm.ConnPool SkipInitializeWithVersion bool DefaultStringSize uint DisableDatetimePrecision bool DontSupportRenameIndex bool DontSupportRenameColumn bool GormConfig gorm.Config }
Config defines the config for the MYSQL connection.
Click to show internal directories.
Click to hide internal directories.