db

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultInstallGORM

func DefaultInstallGORM(
	debug bool,
	singular bool,
	dbType string,
	tablePrefix string,
	server string,
	maxIdleConn int,
	maxOpenConn int,
) *gorm.DB

DefaultInstallGORM default install gorm

Types

type NilLogger added in v0.0.22

type NilLogger struct{}

NilLogger nil logger

func (*NilLogger) Print added in v0.0.22

func (l *NilLogger) Print(v ...interface{})

Print nil logger do nothing

Jump to

Keyboard shortcuts

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