Skip to content

Latest commit

 

History

History
58 lines (47 loc) · 1.41 KB

README.md

File metadata and controls

58 lines (47 loc) · 1.41 KB

cgncode

自动生成curd代码, 已经生成的代码,不会重复生成

GitHub releaselicense

帮助

make help
Usage:
  cgncode [flags]
  cgncode [command]

Available Commands:
  code        A brief description of your command
  completion  Generate the autocompletion script for the specified shell
  dto         A brief description of your command
  handler     A brief description of your command
  help        Help about any command
  service     A brief description of your command

Flags:
  -h, --help   help for cgncode

使用

  1. 生成 controller、service、dto代码
make code

效果:

handler.png

  1. 生成 controller代码
make h 

效果:

handler.png

  1. 生成 service代码
make s 

效果:

handler.png

  1. 生成 dto代码
make d

效果:

handler.png