driver

package
v0.0.0-...-714bc2e Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 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 {
	Dialer(optons *database.Options) gorm.Dialector
	Type() string
}

Driver .

type Mysql

type Mysql struct{}

Mysql .

func (*Mysql) Dialer

func (*Mysql) Dialer(options *database.Options) gorm.Dialector

Dialer .

func (*Mysql) Type

func (*Mysql) Type() string

Type .

type Postgres

type Postgres struct{}

Postgres .

func (*Postgres) Dialer

func (*Postgres) Dialer(options *database.Options) gorm.Dialector

Dialer .

func (*Postgres) Type

func (*Postgres) Type() string

Type .

Jump to

Keyboard shortcuts

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