Scaffolding

Like most frameworks Gozen comes with a way to quickly scaffold out your application, creating a controller, model, and view automatically.


To generate a scaffold please execute the following command from the terminal

go run cmd/g.go students student name:string,email:string

A list of all the available options

integer
float
string
text
boolean
date
datetime
time
timestamp

Did you know?

Gozen will automatically update itself to generate valid SQL code depending on what database driver you specify in your .env file.

Each table you generate automatically creates a primary 'id' key that is auto incremented and a created_at and updated_at column