Skip to content

自动生成控制器层、service层、数据层CURD代码

License

Notifications You must be signed in to change notification settings

jeffcail/cgncode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

自动生成控制器层、service层、数据层CURD代码

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published