create

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2022 License: MIT Imports: 8 Imported by: 0

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),
	RunE: func(cmd *cobra.Command, args []string) error {
		modName := args[0]
		return createProjectDir(modName)
	},
}

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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