Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsDuplicatedError ¶
IsDuplicatedError checks if given error states for the mysql duplicated input error.
Types ¶
type MySQLDriver ¶ added in v0.0.16
type MySQLDriver struct {
// contains filtered or unexported fields
}
MySQLDriver is the implementation of the MySQL based database.Driver.
func (*MySQLDriver) CanRetry ¶ added in v0.0.16
func (m *MySQLDriver) CanRetry(err error) bool
CanRetry implements database.Driver interface.
func (*MySQLDriver) DriverName ¶ added in v0.0.16
func (m *MySQLDriver) DriverName() string
DriverName implements database.Driver interface.
Click to show internal directories.
Click to hide internal directories.