godifactroy

package
v1.3.6 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 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 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 (this *DiFactroy) ExistNewFunc(nodes *ast.File, functionName string) bool

func (*DiFactroy) FindBasePkg added in v1.3.5

func (this *DiFactroy) FindBasePkg() string

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 (this *DiFactroy) FindGoFiles() error

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) MakeDi added in v1.3.5

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

func (*DiFactroy) MakeDiAll added in v1.3.5

func (this *DiFactroy) MakeDiAll()

func (*DiFactroy) Parse added in v1.3.5

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

func (*DiFactroy) ParseAll added in v1.3.5

func (this *DiFactroy) ParseAll()

func (*DiFactroy) ParseDir added in v1.3.5

func (this *DiFactroy) ParseDir(pathf string)

func (*DiFactroy) ParseFunc added in v1.3.5

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

func (*DiFactroy) ParseOneStruct added in v1.3.5

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

func (*DiFactroy) Pasre2JsonFile added in v1.3.5

func (this *DiFactroy) Pasre2JsonFile()

Jump to

Keyboard shortcuts

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