Documentation ¶
Overview ¶
Package create /*
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{Use: "create", Long: `create is for create a project. modName will use as the dir name and in go.mod as module name`, Args: cobra.ExactArgs(1), Run: func(cmd *cobra.Command, args []string) { modName := args[0] if err := createProjectDir(modName); err != nil { cobraErr.Err(cmd, err.Error()) } }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.