Skip to content

Gin scaffold is CLI to generate scaffolds for the gin gonic framework.

Notifications You must be signed in to change notification settings

benjamincheng/gin-scaffold

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gin Scaffold

Gin scaffold is CLI to generate scaffolds for the gin framework. For now the project only supports mongodb and mgo as database.

Installation

go get github.com/dcu/gin-scaffold

Initializing a project

git-scaffold init <project path>

Creating a model

git-scaffold model <model name> <field name>:<field type>

Creating a controller

gin-scaffold controller <controller name>

Creating a scaffold

gin-scaffold scaffold <controller name> <field name>:<field type>

About

Gin scaffold is CLI to generate scaffolds for the gin gonic framework.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%