mysql_model

package
v0.0.0-...-da4b49c Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MysqlModelGeneratorTemplate

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

func (*MysqlModelGeneratorTemplate) Generate

type MysqlModelParam

type MysqlModelParam struct {
	*descriptor.MessageDescriptorExt
}

func (MysqlModelParam) GetCrudPackageName

func (mmp MysqlModelParam) GetCrudPackageName() string

func (MysqlModelParam) GetPrimaryKey

func (mmp MysqlModelParam) GetPrimaryKey() []*descriptor.FieldDescriptorExt

func (MysqlModelParam) GetPrimaryKeyAsQueryStmt

func (mmp MysqlModelParam) GetPrimaryKeyAsQueryStmt() string

func (MysqlModelParam) GetPrimaryKeyAsString

func (mmp MysqlModelParam) GetPrimaryKeyAsString(prefix, suffix, delimiter string, toLower bool, withGoType bool) string

func (MysqlModelParam) IsCreatedAt

func (mmp MysqlModelParam) IsCreatedAt() bool

func (MysqlModelParam) IsUpdatedAt

func (mmp MysqlModelParam) IsUpdatedAt() bool

func (MysqlModelParam) NeedImportTime

func (mmp MysqlModelParam) NeedImportTime() bool

Jump to

Keyboard shortcuts

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