service

package
v1.0.1-dev-02 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2024 License: MulanPSL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InjectMetadataFactroy

func InjectMetadataFactroy(s *MetadataFactroy)

func LoadMetadataFactroy

func LoadMetadataFactroy() baseiface.ISingleton

Types

type MetadataFactroy

type MetadataFactroy struct {
	basedto.BaseEntitySingle
	*factrydb.FactroyDb
	// contains filtered or unexported fields
}

@Title 文件名称: db_factroy.go @Description 描述: 础数据库工厂

@Author 作者: leijianming@163.com 时间(2024-01-31 22:38:21) @Update 作者: leijianming@163.com 时间(2024-01-31 22:38:21)

func FindBeanMetadataFactroy

func FindBeanMetadataFactroy() *MetadataFactroy

func NewMetadataFactroy

func NewMetadataFactroy() *MetadataFactroy

func (*MetadataFactroy) FindFields

func (this *MetadataFactroy) FindFields(table string, fieldsName string) string

func (*MetadataFactroy) FindGoType

func (this *MetadataFactroy) FindGoType(fieldType string) (goType string)

func (*MetadataFactroy) FindMetadata

func (this *MetadataFactroy) FindMetadata(table string) *metadata.MetadataTable

func (*MetadataFactroy) FindPgPkey

func (this *MetadataFactroy) FindPgPkey(table string) *metadata.MetaPkInfo

func (*MetadataFactroy) FindProtoType

func (this *MetadataFactroy) FindProtoType(fieldType string) (pbType string)

func (*MetadataFactroy) FindTableComment

func (this *MetadataFactroy) FindTableComment()

func (*MetadataFactroy) FindTables

func (this *MetadataFactroy) FindTables() []metadata.MetadataTable

func (*MetadataFactroy) IniDb

func (this *MetadataFactroy) IniDb()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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