Documentation ¶
Index ¶
- func InjectBuildStrategy(s *BuildStrategy)
- func LoadBuildStrategy() baseiface.ISingleton
- type BuildStrategy
- func (b *BuildStrategy) AppenTableFile(tableFile *dto.TableFile)
- func (b *BuildStrategy) Build() *dto.TableFile
- func (b *BuildStrategy) BuildFile()
- func (b *BuildStrategy) BuildFiles(genpath string, suffix string, content string) *dto.TableFile
- func (b *BuildStrategy) BuildParams()
- func (b *BuildStrategy) BuildType() int
- func (b *BuildStrategy) FindBuildFileInf() (*dto.BuildFileInf, bool)
- func (b *BuildStrategy) FindFileTemplate() *dto.FileTemplate
- func (b *BuildStrategy) GetTableFactroy() *table.TableFactroy
- func (b *BuildStrategy) Init()
- func (b *BuildStrategy) Istest() bool
- func (b *BuildStrategy) Parse() string
- func (b *BuildStrategy) SetBuildType(buildType int)
- func (b *BuildStrategy) SetTableFactroy(tableFactroy *table.TableFactroy)
- type IbuildStrategy
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InjectBuildStrategy ¶
func InjectBuildStrategy(s *BuildStrategy)
func LoadBuildStrategy ¶
func LoadBuildStrategy() baseiface.ISingleton
Types ¶
type BuildStrategy ¶
type BuildStrategy struct { basedto.BaseEntity *table.TableFactroy FileKey int // contains filtered or unexported fields }
func FindBeanBuildStrategy ¶
func FindBeanBuildStrategy() *BuildStrategy
func NewBuildStrategy ¶
func NewBuildStrategy() *BuildStrategy
func (*BuildStrategy) AppenTableFile ¶
func (b *BuildStrategy) AppenTableFile(tableFile *dto.TableFile)
func (*BuildStrategy) Build ¶
func (b *BuildStrategy) Build() *dto.TableFile
func (*BuildStrategy) BuildFile ¶
func (b *BuildStrategy) BuildFile()
func (*BuildStrategy) BuildFiles ¶
func (*BuildStrategy) BuildParams ¶
func (b *BuildStrategy) BuildParams()
func (*BuildStrategy) BuildType ¶
func (b *BuildStrategy) BuildType() int
func (*BuildStrategy) FindBuildFileInf ¶
func (b *BuildStrategy) FindBuildFileInf() (*dto.BuildFileInf, bool)
func (*BuildStrategy) FindFileTemplate ¶
func (b *BuildStrategy) FindFileTemplate() *dto.FileTemplate
func (*BuildStrategy) GetTableFactroy ¶
func (b *BuildStrategy) GetTableFactroy() *table.TableFactroy
func (*BuildStrategy) Init ¶
func (b *BuildStrategy) Init()
func (*BuildStrategy) Istest ¶
func (b *BuildStrategy) Istest() bool
func (*BuildStrategy) Parse ¶
func (b *BuildStrategy) Parse() string
func (*BuildStrategy) SetBuildType ¶
func (b *BuildStrategy) SetBuildType(buildType int)
func (*BuildStrategy) SetTableFactroy ¶
func (b *BuildStrategy) SetTableFactroy(tableFactroy *table.TableFactroy)
type IbuildStrategy ¶
type IbuildStrategy interface { Istest() bool Build() *dto.TableFile Init() BuildParams() BuildFile() SetTableFactroy(tableFactroy *table.TableFactroy) GetTableFactroy() *table.TableFactroy }
@Title 文件名称: builder_iface.go @Description 描述: 代码工厂生成接口
@Author 作者: leijianming@163.com 时间(2024-01-31 22:38:21) @Update 作者: leijianming@163.com 时间(2024-01-31 22:38:21)
Click to show internal directories.
Click to hide internal directories.