drivers

package
v4.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2022 License: MIT Imports: 9 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 {
	Connect(host string, port int, user string, password string, dbname string, debug bool) *gorm.DB
}

type Mysql

type Mysql struct {
}

func (Mysql) Connect

func (_ Mysql) Connect(host string, port int, user string, password string, dbname string, debug bool) *gorm.DB

type PostgreSql

type PostgreSql struct {
}

func (PostgreSql) Connect

func (_ PostgreSql) Connect(host string, port int, user string, password string, dbname string, debug bool) *gorm.DB

Jump to

Keyboard shortcuts

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