Documentation ¶
Index ¶
- func CreateComponent(repoName string, comType string) error
- func CreateProject(projectName, moduleName string, args ...string) error
- func CreateService() error
- func ExecCommand(dir, name string, arg ...string) error
- func GenerateProjectInfo(projectDir string, p *options.ProjectInfo) error
- func GetCurrentDir() (string, error)
- func GetProjectInfo() (*options.ProjectInfo, error)
- func GetTempPath(path string) string
- func GoFmtDir(dir string) error
- func PullTemplate(dir, repo string) error
- func ReplaceFileKeyword(files []string, m map[string]interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateComponent ¶
func CreateProject ¶
CreateProject 创建项目
func CreateService ¶
func CreateService() error
func GenerateProjectInfo ¶
func GenerateProjectInfo(projectDir string, p *options.ProjectInfo) error
GenerateProjectInfo 构造项目标识
func GetProjectInfo ¶
func GetProjectInfo() (*options.ProjectInfo, error)
GetProjectInfo 检查当前目录是否ginny项目,并返回项目信息
func ReplaceFileKeyword ¶
ReplaceFileKeyword
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.