Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GormConnect ¶
func GormConnect(params GormConnParams) *gorm.DB
Connect to a MySQL instance using Gorm
func IsRecordNotFoundError ¶ added in v1.6.0
Check if returned error is a "Record not found" error
Types ¶
type ConnectionParams ¶
type GormConnParams ¶
type GormConnParams struct { ConnectionParams ConnectionParams Log *logrus.Logger GormLoggerConfig *gormLogger.Config }
Click to show internal directories.
Click to hide internal directories.