project

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CmdNew = &cobra.Command{
	Use:   "new [name]",
	Short: "创建一个新的项目",
	Long:  `创建一个包含必要文件和目录的新项目,集成mist作为Web框架和eidola作为gRPC框架`,
	Run:   run,
}

CmdNew 表示创建新项目的命令

Functions

This section is empty.

Types

type Project added in v0.2.2

type Project struct {
	Name string
	Path string
}

Project 是项目模板

func (*Project) New added in v0.2.2

func (p *Project) New(ctx context.Context, dir string, layout string, branch string, moduleName string, withGrpc bool, withHttp bool, withDocker bool, withK8s bool) error

New 从远程仓库创建一个新项目

Jump to

Keyboard shortcuts

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