mysql

package
Version: v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DB *gorm.DB

Functions

This section is empty.

Types

type MysqlConf

type MysqlConf struct {
	User         string
	Password     string
	Host         string
	Port         string
	Database     string
	Charset      string
	MaxIdleConns int
	MaxOpenConns int
}

func (*MysqlConf) InitDb

func (m *MysqlConf) InitDb() *gorm.DB

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL