Documentation ¶
Index ¶
- func LoadDiFactroy() baseiface.ISingleton
- type DiFactroy
- func (this *DiFactroy) ExistNewFunc(nodes *ast.File, functionName string) bool
- func (this *DiFactroy) FindBasePkg() string
- func (this *DiFactroy) FindFile(file string) *didto.FileinfoDto
- func (this *DiFactroy) FindGoFiles() error
- func (this *DiFactroy) FindSome(struname string) *didto.FileinfoDto
- func (this *DiFactroy) MakeBatch(structInfo *didto.StructInfo) bool
- func (this *DiFactroy) MakeDi(dto *didto.DiDto) error
- func (this *DiFactroy) MakeDiAll()
- func (this *DiFactroy) Parse(file string) *didto.FileinfoDto
- func (this *DiFactroy) ParseAll()
- func (this *DiFactroy) ParseDir(pathf string)
- func (this *DiFactroy) ParseFunc(decl *ast.FuncDecl)
- func (this *DiFactroy) ParseOneStruct(decl *ast.GenDecl, nodes *ast.File, path string) *didto.StructInfo
- func (this *DiFactroy) Pasre2JsonFile()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadDiFactroy ¶
func LoadDiFactroy() baseiface.ISingleton
Types ¶
type DiFactroy ¶ added in v1.3.5
type DiFactroy struct { basedto.BaseEntitySingle BasePkg string Rootdir string FileInfoDtos []*didto.FileinfoDto StructInfos [][]*didto.StructInfo StructInfoMap map[string]*didto.StructInfo }
func FindBeanDiFactroy ¶
func FindBeanDiFactroy() *DiFactroy
func NewDiFactroy ¶
func NewDiFactroy() *DiFactroy
func (*DiFactroy) ExistNewFunc ¶ added in v1.3.5
func (*DiFactroy) FindBasePkg ¶ added in v1.3.5
func (*DiFactroy) FindFile ¶ added in v1.3.5
func (this *DiFactroy) FindFile(file string) *didto.FileinfoDto
func (*DiFactroy) FindGoFiles ¶ added in v1.3.5
func (*DiFactroy) FindSome ¶ added in v1.3.5
func (this *DiFactroy) FindSome(struname string) *didto.FileinfoDto
func (*DiFactroy) MakeBatch ¶ added in v1.3.5
func (this *DiFactroy) MakeBatch(structInfo *didto.StructInfo) bool
func (*DiFactroy) Parse ¶ added in v1.3.5
func (this *DiFactroy) Parse(file string) *didto.FileinfoDto
func (*DiFactroy) ParseOneStruct ¶ added in v1.3.5
func (*DiFactroy) Pasre2JsonFile ¶ added in v1.3.5
func (this *DiFactroy) Pasre2JsonFile()
Click to show internal directories.
Click to hide internal directories.