service

package
v0.0.0-...-c47cd45 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2024 License: MulanPSL-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InjectGoFactroy

func InjectGoFactroy(s *GoFactroy)

func ListTable

func ListTable(tablename string) *meta.MetaTable

func ListTables

func ListTables() []string

func LoadGoFactroy

func LoadGoFactroy() baseiface.ISingleton

func MakeJoin

func MakeJoin()

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 Default

func Default() *GoFactroy

func FindBeanGoFactroy

func FindBeanGoFactroy() *GoFactroy

func (*GoFactroy) Build

func (gf *GoFactroy) Build() (tableFile *dto.TableFile)

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 (gf *GoFactroy) FindTables() []meta.MetaTable

func (*GoFactroy) FindZip

func (gf *GoFactroy) FindZip() *zipfile.ZipfilePath

func (*GoFactroy) GetDB

func (gf *GoFactroy) GetDB() *gorm.DB

func (*GoFactroy) IniDb

func (gf *GoFactroy) IniDb(dbType string) *GoFactroy

func (*GoFactroy) RmGenProto

func (gf *GoFactroy) RmGenProto() error

func (*GoFactroy) SendEmail

func (gf *GoFactroy) SendEmail(subj, msg string)

func (*GoFactroy) Write2JsonFile

func (gf *GoFactroy) Write2JsonFile() error

func (*GoFactroy) Write2JsonFileOne

func (gf *GoFactroy) Write2JsonFileOne() error

func (*GoFactroy) Zip

func (gf *GoFactroy) Zip() string

func (*GoFactroy) ZipTables

func (gf *GoFactroy) ZipTables() string

Jump to

Keyboard shortcuts

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