mysql

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GormMySQL

type GormMySQL struct {
	rady.Database
	*gorm.DB
}

type GormMySQLConfig

type GormMySQLConfig struct {
	rady.Configuration
	App *rady.Application
}

func (*GormMySQLConfig) GetAutoMigrateMySQLDB

func (g *GormMySQLConfig) GetAutoMigrateMySQLDB(params *GormMySQLParameter) *GormMySQL

type GormMySQLParameter

type GormMySQLParameter struct {
	rady.Parameter
	Host      *string `value:"rady.mysql.host" default:"127.0.0.1"`
	Port      *string `value:"rady.mysql.port" default:"3306"`
	Database  *string `value:"rady.mysql.database"`
	Username  *string `value:"rady.mysql.username"`
	Password  *string `value:"rady.mysql.password"`
	Charset   *string `value:"rady.mysql.charset" default:"utf8"`
	ParseTime *string `value:"rady.mysql.parseTime" default:"True"`
	Loc       *string `value:"rady.mysql.loc" default:"Local"`
}

Jump to

Keyboard shortcuts

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