Documentation ¶
Index ¶
- Variables
- func ApiList(key string) string
- func GenerateInterface(moduleParam base.ModuleParam, fullInterfaceDir, tableName string)
- func GenerateMethod(moduleParam base.ModuleParam, apiUrl, fullMethodDir, tableName string)
- func GeneratePage(moduleParam base.ModuleParam, fullPageDir, viewUrl, tableName string)
- func InterfaceTemplate() string
- func MethodTemplate() string
- func PageTemplate() string
- func Run(cmd *cobra.Command, args []string)
Constants ¶
This section is empty.
Variables ¶
View Source
var Vue = &cobra.Command{ Use: "vue", Short: "前端指令", Long: "前端手架命令 : toolkit vue", Run: Run, }
Vue represents the upgrade command.
Functions ¶
func GenerateInterface ¶
func GenerateInterface(moduleParam base.ModuleParam, fullInterfaceDir, tableName string)
func GenerateMethod ¶
func GenerateMethod(moduleParam base.ModuleParam, apiUrl, fullMethodDir, tableName string)
func GeneratePage ¶
func GeneratePage(moduleParam base.ModuleParam, fullPageDir, viewUrl, tableName string)
viewUrl: 页面路径
func InterfaceTemplate ¶
func InterfaceTemplate() string
func MethodTemplate ¶
func MethodTemplate() string
func PageTemplate ¶
func PageTemplate() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.