Documentation ¶
Index ¶
- func InjectGoFactroy(s *GoFactroy)
- func ListTable(tablename string) *meta.MetaTable
- func ListTables() []string
- func LoadGoFactroy() baseiface.ISingleton
- func MakeJoin()
- func MakeMysql(table string) *table.TableFactroy
- func MakeMysqls() *table.TableFactroy
- func MakePostgres(table string)
- type GoFactroy
- func (gf *GoFactroy) Build() (tableFile *dto.TableFile)
- func (gf *GoFactroy) BuildInfos()
- func (gf *GoFactroy) BuildJoinQuery()
- func (gf *GoFactroy) BuildMqCmsContentColumn()
- func (gf *GoFactroy) BuildMultiQueryEmployee()
- func (gf *GoFactroy) BuildProto2Go()
- func (gf *GoFactroy) BuildTable(tablename string) *table.TableFactroy
- func (gf *GoFactroy) BuildTables() (dfc *table.TableFactroy)
- func (gf *GoFactroy) FindModelFile() *zipfile.ZipfilePath
- func (gf *GoFactroy) FindTables() []meta.MetaTable
- func (gf *GoFactroy) FindZip() *zipfile.ZipfilePath
- func (gf *GoFactroy) GetDB() *gorm.DB
- func (gf *GoFactroy) IniDb(dbType string) *GoFactroy
- func (gf *GoFactroy) RmGenProto() error
- func (gf *GoFactroy) SendEmail(subj, msg string)
- func (gf *GoFactroy) Write2JsonFile() error
- func (gf *GoFactroy) Write2JsonFileOne() error
- func (gf *GoFactroy) Zip() string
- func (gf *GoFactroy) ZipTables() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InjectGoFactroy ¶
func InjectGoFactroy(s *GoFactroy)
func ListTables ¶
func ListTables() []string
func LoadGoFactroy ¶
func LoadGoFactroy() baseiface.ISingleton
func MakeMysql ¶
func MakeMysql(table string) *table.TableFactroy
func MakeMysqls ¶
func MakeMysqls() *table.TableFactroy
func MakePostgres ¶
func MakePostgres(table string)
Types ¶
type GoFactroy ¶
type GoFactroy struct { basedto.BaseEntity *table.TableFactroy // contains filtered or unexported fields }
@Title 文件名称: go_factroy.go @Description 描述: 代码工厂主文件
@Author 作者: leijianming@163.com 时间(2024-01-31 22:38:21) @Update 作者: leijianming@163.com 时间(2024-01-31 22:38:21)
func FindBeanGoFactroy ¶
func FindBeanGoFactroy() *GoFactroy
func (*GoFactroy) BuildInfos ¶
func (gf *GoFactroy) BuildInfos()
func (*GoFactroy) BuildJoinQuery ¶
func (gf *GoFactroy) BuildJoinQuery()
func (*GoFactroy) BuildMqCmsContentColumn ¶
func (gf *GoFactroy) BuildMqCmsContentColumn()
func (*GoFactroy) BuildMultiQueryEmployee ¶
func (gf *GoFactroy) BuildMultiQueryEmployee()
func (*GoFactroy) BuildProto2Go ¶
func (gf *GoFactroy) BuildProto2Go()
func (*GoFactroy) BuildTable ¶
func (gf *GoFactroy) BuildTable(tablename string) *table.TableFactroy
单表生成 key=filename value=content
func (*GoFactroy) BuildTables ¶
func (gf *GoFactroy) BuildTables() (dfc *table.TableFactroy)
func (*GoFactroy) FindModelFile ¶
func (gf *GoFactroy) FindModelFile() *zipfile.ZipfilePath
func (*GoFactroy) FindTables ¶
func (*GoFactroy) FindZip ¶
func (gf *GoFactroy) FindZip() *zipfile.ZipfilePath
func (*GoFactroy) RmGenProto ¶
func (*GoFactroy) Write2JsonFile ¶
func (*GoFactroy) Write2JsonFileOne ¶
Click to show internal directories.
Click to hide internal directories.