new

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const TplProjectStructure = `` /* 1234-byte string literal not displayed */

TplProjectStructure 项目结构

Variables

This section is empty.

Functions

func Exec

func Exec(cfg Config) error

Exec 执行创建项目命令

Types

type Command

type Command struct {
	// contains filtered or unexported fields
}

Command 创建项目命令

func (*Command) Exec

func (a *Command) Exec() error

Exec 执行命令

type Config

type Config struct {
	Dir        string
	PkgName    string
	UseMirror  bool
	IncludeWeb bool
}

Config 配置参数

Jump to

Keyboard shortcuts

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