usecase_mysql

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: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ScaffoldMysql

type ScaffoldMysql struct {
	*descriptor.MessageDescriptorExt
	GoModuleName string
}

func (ScaffoldMysql) GetCrudPackageName

func (s ScaffoldMysql) GetCrudPackageName() string

func (ScaffoldMysql) GetPrimaryKey

func (s ScaffoldMysql) GetPrimaryKey() []*descriptor.FieldDescriptorExt

func (ScaffoldMysql) GetPrimaryKeyAsQueryStmt

func (s ScaffoldMysql) GetPrimaryKeyAsQueryStmt() string

func (ScaffoldMysql) GetPrimaryKeyAsString

func (s ScaffoldMysql) GetPrimaryKeyAsString(prefix, suffix, delimiter string, toLower bool, withGoType bool) string

func (ScaffoldMysql) NeedImportTime

func (s ScaffoldMysql) NeedImportTime() bool

type ScaffoldMysqlGeneratorTemplate

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

func New

func New(d *descriptor.Descriptor, modelName string, goModuleName string) *ScaffoldMysqlGeneratorTemplate

func (*ScaffoldMysqlGeneratorTemplate) Generate

Jump to

Keyboard shortcuts

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