Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GORMConfig ¶
type GORMConfig struct { DriverName string DataSourceName string MaxOpenConns int MaxIdleConns int MaxLifetime time.Duration }
GORMConfig holds the configuration for the GORM database instance
func (*GORMConfig) InitializeGORMDatabase ¶
func (config *GORMConfig) InitializeGORMDatabase() (*gorm.DB, error)
InitializeGORMDatabase returns a new GORM DB instance
Click to show internal directories.
Click to hide internal directories.