driver

package
v0.0.0-...-e964040 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MySQL *m

MySQL .

View Source
var Postgres *p

Postgres Postgres

Functions

This section is empty.

Types

type Dialector

type Dialector interface {
	Dialector(optons *database.Options) gorm.Dialector
	Type() Type
}

type Type

type Type string
const (
	// TypeMysql mysql
	TypeMysql Type = "Mysql"
	// TypePostgres postgres
	TypePostgres Type = "Postgres"
)

func (Type) String

func (t Type) String() string

String .

Jump to

Keyboard shortcuts

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