minipkg

package
v0.0.0-...-bcad779 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InjectMiniFilepkg

func InjectMiniFilepkg(s *MiniFilepkg)

func LoadMiniFilepkg

func LoadMiniFilepkg() baseiface.ISingleton

Types

type MiniFilepkg

type MiniFilepkg struct {
	basedto.BaseEntitySingle
	*minifile.MiniFile
	//find.MiniFileBath
	BasePkgName string
}

func FindBeanMiniFilepkg

func FindBeanMiniFilepkg() *MiniFilepkg

func NewMiniFilepkg

func NewMiniFilepkg() *MiniFilepkg

func (*MiniFilepkg) FindPkg

func (self *MiniFilepkg) FindPkg(pkgPathName string) (*build.Package, error)

func (*MiniFilepkg) FindRootDir

func (this *MiniFilepkg) FindRootDir() string

func (*MiniFilepkg) GetPkg

func (this *MiniFilepkg) GetPkg(pkgPath string) (*build.Package, error)

func (*MiniFilepkg) GetPkgAllFilesPath

func (m *MiniFilepkg) GetPkgAllFilesPath(pkgPath string) ([]string, error)

获取第三方包下所有文件的相对路径

func (*MiniFilepkg) GetPkgPath

func (m *MiniFilepkg) GetPkgPath(pkgPath string) (string, error)

func (*MiniFilepkg) SetPkgEnv

func (this *MiniFilepkg) SetPkgEnv(path string)

Jump to

Keyboard shortcuts

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