basestru

package
v1.0.1-rel-02 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: AFL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func InjectMigrateMeta

func InjectMigrateMeta(s *MigrateMeta)

func LoadMigrateMeta

func LoadMigrateMeta() baseiface.ISingleton

Types

type MigrateMeta

type MigrateMeta struct {
	basedto.BaseEntity
	FieldTypes map[string]string
	FieldTags  map[string]string
	// contains filtered or unexported fields
}

func FindBeanMigrateMeta

func FindBeanMigrateMeta() *MigrateMeta

FindBeanMigrateMeta

func NewMigrateMeta

func NewMigrateMeta() *MigrateMeta

func (*MigrateMeta) AddField

func (self *MigrateMeta) AddField(field string, fieldType string, fieldTag string)

func (*MigrateMeta) Col2ColType

func (self *MigrateMeta) Col2ColType(colType string, colName string) (reflect.Type, bool)

func (*MigrateMeta) CreateStruMeta

func (self *MigrateMeta) CreateStruMeta() reflect.Value

func (*MigrateMeta) CreateStruMetaRecord

func (self *MigrateMeta) CreateStruMetaRecord() any

func (*MigrateMeta) Decode

func (self *MigrateMeta) Decode()

func (*MigrateMeta) Encode

func (self *MigrateMeta) Encode()

func (*MigrateMeta) FromStru

func (self *MigrateMeta) FromStru(stru schema.Tabler)

func (*MigrateMeta) FromStruFilter

func (self *MigrateMeta) FromStruFilter(stru schema.Tabler, filterFields string)

fields f1,f2

func (*MigrateMeta) Str2Garray

func (self *MigrateMeta) Str2Garray(fields string) *garray.Array

Jump to

Keyboard shortcuts

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