genmysql

package
v0.0.0-...-b34c890 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2022 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FixElementTag

func FixElementTag(em *model.ColumnsInfo, note string) bool

FixElementTag 分析元素表注释

func FixForeignKeyTag

func FixForeignKeyTag(em *model.ColumnsInfo, note string) bool

FixForeignKeyTag 分析元素表注释(外键)

func FixNotes

func FixNotes(em *model.ColumnsInfo, note string)

FixNotes 分析元素表注释

func New

func New(orm MySqlDB) *mysqlModel

Types

type MySqlDB

type MySqlDB interface {
	RawRows(sql string, values ...interface{}) (*sql.Rows, error)
	RawScan(dest interface{}, sql string, values ...interface{}) error
}

Jump to

Keyboard shortcuts

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