mysqlparser

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MysqlType2GoType = map[string]string{
	"int":       "int64",
	"tinyint":   "uint8",
	"decimal":   "float64",
	"bigint":    "int64",
	"varchar":   "string",
	"char":      "string",
	"text":      "string",
	"date":      "time.Time",
	"time":      "time.Time",
	"datetime":  "time.Time",
	"timestamp": "time.Time",
	"json":      "string",
}

Functions

This section is empty.

Types

type MysqlGenerator added in v0.2.1

type MysqlGenerator struct {
}

func NewMysqlGenerator added in v0.2.1

func NewMysqlGenerator() *MysqlGenerator

func (*MysqlGenerator) Run added in v0.2.1

func (m *MysqlGenerator) Run() error

Jump to

Keyboard shortcuts

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