Gonrails 是基于 Gin 改造的后端 MVC 开发框架
- QQ 群: 594171535
- 接头暗号: Heil Hydra
go get -u github.com/gonrails/gonrails
gonrails new yourproject-name
- so if I want to create a project named kalista , I just run command
gonrails new kalista
- the docs of the created project was in here
The command is gonrails generate controller yourcontroller action list
eg:
gonrails generate controller users index update show
gonrails generate controller admin/users index update show