Documentation ¶
Index ¶
- func FinalConfirm(importPath, projectName, projectKind, noRoot string) bool
- func ImportPath() (string, error)
- func IsCLI(no string) bool
- func IsLibrary(no string) bool
- func IsNoRoot(no string) bool
- func IsSimpleApp(no string) bool
- func ProjectKind() (string, error)
- func ProjectRootDir(projectName string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FinalConfirm ¶
FinalConfirm check if you can create a project with the above contents
func ImportPath ¶
ImportPath return project import path from user input.
func IsSimpleApp ¶
IsSimpleApp return whether the number specifies the creation of the simple project
func ProjectKind ¶
ProjectKind return project kind from user input.
func ProjectRootDir ¶
ProjectRootDir returns where to create the project(project path)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.