make

package
v0.4.10 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CmdMake = &cobra.Command{
	Use:   "make",
	Short: "Generate file and code",
}
View Source
var CmdMakeCMD = &cobra.Command{
	Use:   "cmd",
	Short: "Create a new command",
	Run:   runMakeCMD,
	Args:  cobra.ExactArgs(1),
}
View Source
var CmdMakeController = &cobra.Command{
	Use:   "controller",
	Short: "Create a new controller",
	Run:   runMakeController,
	Args:  cobra.ExactArgs(1),
}
View Source
var CmdMakeMiddleware = &cobra.Command{
	Use:   "middleware",
	Short: "Create a new middleware",
	Run:   runMiddleware,
	Args:  cobra.ExactArgs(1),
}
View Source
var CmdMakeMigration = &cobra.Command{
	Use:   "migration",
	Short: "Create a new migration file",
	Run:   runMakeMigration,
	Args:  cobra.ExactArgs(1),
}
View Source
var CmdMakeModel = &cobra.Command{
	Use:   "model",
	Short: "Create a new model",
	Run:   runMakeModel,
	Args:  cobra.ExactArgs(1),
}
View Source
var CmdMakeRequest = &cobra.Command{
	Use:   "request",
	Short: "Create a new form request",
	Run:   runMakeRequest,
	Args:  cobra.ExactArgs(1),
}

Functions

This section is empty.

Types

type Model

type Model struct {
	TableName          string
	StructName         string
	StructNamePlural   string
	VariableName       string
	VariableNamePlural string
	VariableNameSnake  string
	PackageName        string
	Directory          string
}

Jump to

Keyboard shortcuts

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