Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IImportPath ¶
type ImportPath ¶
type ImportPath struct {
}
func (*ImportPath) GetByCurrentDir ¶
func (p *ImportPath) GetByCurrentDir() (path string, err error)
GetCurrentDirPath 获取当前目录的包导入路径
func (*ImportPath) GetCurrentDirModFilePath ¶
func (p *ImportPath) GetCurrentDirModFilePath() (modDir, modPath string, err error)
func (*ImportPath) GetModFilePath ¶
func (p *ImportPath) GetModFilePath(dir string) (modDir, modPath string, err error)
Click to show internal directories.
Click to hide internal directories.