Echo Scaffold
is CLI to generate scaffolds for the echo
framework.
For now the project only supports mongodb
and mgo
as database.
go get github.com/mattn/echo-scaffold
echo-scaffold init <project path>
echo-scaffold model <model name> <field name>:<field type>
echo-scaffold controller <controller name>
echo-scaffold scaffold <controller name> <field name>:<field type>
go run <project name>.go
Open browser, and access to http://localhost:4000. (Default port:4000)
This is based on gin-scaffold