drivers

package
v0.0.0-...-d389d3b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 14, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

type Driver interface {
	ConvertError(driverError error) error
}

func GetDriverOrNil

func GetDriverOrNil(dialect string) Driver

type MySQLDriver

type MySQLDriver struct{}

func (MySQLDriver) ConvertError

func (m MySQLDriver) ConvertError(driverError error) error

type PostgresDriver

type PostgresDriver struct{}

func (PostgresDriver) ConvertError

func (m PostgresDriver) ConvertError(driverError error) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL