Documentation
¶
Index ¶
- func InjectMiniFilepkg(s *MiniFilepkg)
- func LoadMiniFilepkg() baseiface.ISingleton
- type MiniFilepkg
- func (self *MiniFilepkg) FindPkg(pkgPathName string) (*build.Package, error)
- func (this *MiniFilepkg) FindRootDir() string
- func (this *MiniFilepkg) GetPkg(pkgPath string) (*build.Package, error)
- func (m *MiniFilepkg) GetPkgAllFilesPath(pkgPath string) ([]string, error)
- func (m *MiniFilepkg) GetPkgPath(pkgPath string) (string, error)
- func (this *MiniFilepkg) SetPkgEnv(path string)
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 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)
Click to show internal directories.
Click to hide internal directories.