Documentation ¶
Index ¶
- func InjectMetadataFactroy(s *MetadataFactroy)
- func LoadMetadataFactroy() baseiface.ISingleton
- type MetadataFactroy
- func (this *MetadataFactroy) FindFields(table string, fieldsName string) string
- func (this *MetadataFactroy) FindGoType(fieldType string) (goType string)
- func (this *MetadataFactroy) FindMetadata(table string) *metadata.MetadataTable
- func (this *MetadataFactroy) FindPgPkey(table string) *metadata.MetaPkInfo
- func (this *MetadataFactroy) FindProtoType(fieldType string) (pbType string)
- func (this *MetadataFactroy) FindTableComment()
- func (this *MetadataFactroy) FindTables() []metadata.MetadataTable
- func (this *MetadataFactroy) IniDb()
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()
Click to show internal directories.
Click to hide internal directories.