godifactroy

package
v1.0.601 Latest Latest
Warning

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

Go to latest
Published: May 25, 2024 License: MulanPSL-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadDiFactroy

func LoadDiFactroy() baseiface.ISingleton

Types

type GodiFactroy

type GodiFactroy struct {
	basedto.BaseEntitySingle

	BasePkg string
	Rootdir string

	FileInfoDtos  []*didto.FileinfoDto
	StructInfos   [][]*didto.StructInfo
	StructInfoMap map[string]*didto.StructInfo
}

func FindBeanDiFactroy

func FindBeanDiFactroy() *GodiFactroy

func NewDiFactroy

func NewDiFactroy() *GodiFactroy

func (*GodiFactroy) ExistNewFunc

func (this *GodiFactroy) ExistNewFunc(nodes *ast.File, functionName string) bool

func (*GodiFactroy) FindBasePkg

func (this *GodiFactroy) FindBasePkg() string

func (*GodiFactroy) FindFile

func (this *GodiFactroy) FindFile(file string) *didto.FileinfoDto

func (*GodiFactroy) FindGoFiles

func (this *GodiFactroy) FindGoFiles() error

func (*GodiFactroy) FindSome

func (this *GodiFactroy) FindSome(struname string) *didto.FileinfoDto

func (*GodiFactroy) MakeBatch

func (this *GodiFactroy) MakeBatch(structInfo *didto.StructInfo) bool

func (*GodiFactroy) MakeDi

func (this *GodiFactroy) MakeDi(dto *didto.DiDto) error

func (*GodiFactroy) MakeDiAll

func (this *GodiFactroy) MakeDiAll()

func (*GodiFactroy) Parse

func (this *GodiFactroy) Parse(file string) *didto.FileinfoDto

func (*GodiFactroy) ParseAll

func (this *GodiFactroy) ParseAll()

func (*GodiFactroy) ParseDir

func (this *GodiFactroy) ParseDir(pathf string)

func (*GodiFactroy) ParseFunc

func (this *GodiFactroy) ParseFunc(decl *ast.FuncDecl)

func (*GodiFactroy) ParseOneStruct

func (this *GodiFactroy) ParseOneStruct(decl *ast.GenDecl, nodes *ast.File, path string) *didto.StructInfo

func (*GodiFactroy) Pasre2JsonFile

func (this *GodiFactroy) Pasre2JsonFile()

Jump to

Keyboard shortcuts

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