gorm

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ModuleName = dep.Name("wk", "gorm")
)

Functions

func Module

func Module() dep.Module

Types

type DB

type DB struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

type Driver

type Driver struct {
	// contains filtered or unexported fields
}

func (*Driver) Dialect

func (d *Driver) Dialect(dsn url.URL) (*gorm.Dialector, bool)

func (*Driver) Register

func (d *Driver) Register(name string, dialectFn func(dsn string) gorm.Dialector)

Jump to

Keyboard shortcuts

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