Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ModName ¶
func ModName() string
ModName 获取当前项目中的go mod name 简单实现,当前文件夹找不到go.mod,则在父目录中找
@return string
func ModulePath ¶
ModulePath returns go module path.
func ModuleVersion ¶
ModuleVersion returns module version.
Types ¶
type Repo ¶
type Repo struct {
// contains filtered or unexported fields
}
Repo is git repository manager.
func (*Repo) CopyFilesTo ¶
CopyFilesTo copies the repository to project path.
Click to show internal directories.
Click to hide internal directories.