handler

package
v0.0.0-...-e2654c1 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateComponent

func CreateComponent(repoName string, comType string) error

func CreateProject

func CreateProject(projectName, moduleName string, args ...string) error

CreateProject 创建项目

func CreateService

func CreateService() error

func ExecCommand

func ExecCommand(dir, name string, arg ...string) error

ExecCommand

func GenerateProjectInfo

func GenerateProjectInfo(projectDir string, p *options.ProjectInfo) error

GenerateProjectInfo 构造项目标识

func GetCurrentDir

func GetCurrentDir() (string, error)

GetCurrentDir 获取当前目录

func GetProjectInfo

func GetProjectInfo() (*options.ProjectInfo, error)

GetProjectInfo 检查当前目录是否ginny项目,并返回项目信息

func GetTempPath

func GetTempPath(path string) string

GetTempPath

func GoFmtDir

func GoFmtDir(dir string) error

GoFmtDir

func PullTemplate

func PullTemplate(dir, repo string) error

PullTemplate 拉取模板

func ReplaceFileKeyword

func ReplaceFileKeyword(files []string, m map[string]interface{}) error

ReplaceFileKeyword

Types

This section is empty.

Jump to

Keyboard shortcuts

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