orm

package
v0.0.0-...-2e2546a Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMySQL

func NewMySQL(c *Config) (db *gorm.DB, err error)

Types

type Config

type Config struct {
	Driver      string
	UserName    string
	Password    string
	Protocol    string
	Address     string
	Port        int
	DbName      string
	Params      string
	MaxIdleConn int
	MaxOpenConn int
	KeepAlive   int
}

Jump to

Keyboard shortcuts

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