Documentation ¶
Index ¶
- func InjectTableFactroy(s *TableFactroy)
- func LoadTableFactroy() baseiface.ISingleton
- type TableFactroy
- func (this *TableFactroy) BuildInfo(gendir string)
- func (this *TableFactroy) BuildInfoTest(gendir string)
- func (this *TableFactroy) BuildModel() *dto.TableModelFactors
- func (this *TableFactroy) CheckTableExist() bool
- func (this *TableFactroy) FindGoType(fieldType string) string
- func (this *TableFactroy) FindMetadata() *meta.MetaTable
- func (this *TableFactroy) FindMetadataTables() []meta.MetaTable
- func (this *TableFactroy) FindPgPkey(table string) []meta.MetaPkinfo
- func (this *TableFactroy) FindProtoType(fieldType string) string
- func (this *TableFactroy) FindTableComment()
- func (this *TableFactroy) FindTableNames() []string
- func (this *TableFactroy) FindTables() []*dto.TableDto
- func (this *TableFactroy) GetPkInfo() *meta.MetaPkinfo
- func (this *TableFactroy) IniDb(dbtype string)
- func (this *TableFactroy) IsMysql() bool
- func (this *TableFactroy) MakeModelProto() *list.List
- func (this *TableFactroy) MakeModelProtoBody(columns *[]meta.MetaColumn) *list.List
- func (b *TableFactroy) Parse() string
- func (this *TableFactroy) SendEmail(subj, msg string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InjectTableFactroy ¶
func InjectTableFactroy(s *TableFactroy)
func LoadTableFactroy ¶
func LoadTableFactroy() baseiface.ISingleton
Types ¶
type TableFactroy ¶
type TableFactroy struct { basedto.BaseEntity *dto.TableDto *dto.TableDtos ModelFactors *dto.TableModelFactors DbTemplate *template.DbTemplate *webfile.FileFactroy TestFileFactroy *testfile.TestFileFactroy ZipFileName string // contains filtered or unexported fields }
@Title 文件名称: table_factroy.go @Description 描述: 代码工厂基础数据库工厂
@Author 作者: leijianming@163.com 时间(2024-01-31 22:38:21) @Update 作者: leijianming@163.com 时间(2024-01-31 22:38:21)
func FindBeanTableFactroy ¶
func FindBeanTableFactroy() *TableFactroy
func NewTableFactroy ¶
func NewTableFactroy() *TableFactroy
func (*TableFactroy) BuildInfo ¶
func (this *TableFactroy) BuildInfo(gendir string)
func (*TableFactroy) BuildInfoTest ¶
func (this *TableFactroy) BuildInfoTest(gendir string)
func (*TableFactroy) BuildModel ¶
func (this *TableFactroy) BuildModel() *dto.TableModelFactors
func (*TableFactroy) CheckTableExist ¶
func (this *TableFactroy) CheckTableExist() bool
func (*TableFactroy) FindGoType ¶
func (this *TableFactroy) FindGoType(fieldType string) string
func (*TableFactroy) FindMetadata ¶
func (this *TableFactroy) FindMetadata() *meta.MetaTable
func (*TableFactroy) FindMetadataTables ¶
func (this *TableFactroy) FindMetadataTables() []meta.MetaTable
func (*TableFactroy) FindPgPkey ¶
func (this *TableFactroy) FindPgPkey(table string) []meta.MetaPkinfo
func (*TableFactroy) FindProtoType ¶
func (this *TableFactroy) FindProtoType(fieldType string) string
func (*TableFactroy) FindTableComment ¶
func (this *TableFactroy) FindTableComment()
func (*TableFactroy) FindTableNames ¶
func (this *TableFactroy) FindTableNames() []string
func (*TableFactroy) FindTables ¶
func (this *TableFactroy) FindTables() []*dto.TableDto
func (*TableFactroy) GetPkInfo ¶
func (this *TableFactroy) GetPkInfo() *meta.MetaPkinfo
func (*TableFactroy) IniDb ¶
func (this *TableFactroy) IniDb(dbtype string)
func (*TableFactroy) IsMysql ¶
func (this *TableFactroy) IsMysql() bool
func (*TableFactroy) MakeModelProto ¶
func (this *TableFactroy) MakeModelProto() *list.List
func (*TableFactroy) MakeModelProtoBody ¶
func (this *TableFactroy) MakeModelProtoBody(columns *[]meta.MetaColumn) *list.List
func (*TableFactroy) Parse ¶
func (b *TableFactroy) Parse() string
func (*TableFactroy) SendEmail ¶
func (this *TableFactroy) SendEmail(subj, msg string)
Click to show internal directories.
Click to hide internal directories.