Gin scaffold is CLI to generate scaffolds for the gin
framework.
For now the project only supports mongodb
and mgo
as database.
go get github.com/dcu/gin-scaffold
git-scaffold init <project path>
git-scaffold model <model name> <field name>:<field type>
gin-scaffold controller <controller name>
gin-scaffold scaffold <controller name> <field name>:<field type>