gorm

package
v0.0.0-...-4dc2fe1 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client gorm client

func NewClient

func NewClient(filePath, title string) (*Client, error)

NewClient new redis client

type ConfigDefinition

type ConfigDefinition struct {
	// 用户名称
	UserName string
	// 密码
	Password string
	// 数据库名
	Database string
	// 地址
	Url string
	// 相关参数
	Param string
}

ConfigDefinition gorm配置信息

Jump to

Keyboard shortcuts

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