Skip to content

chilldenaya/gin-gorm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gin-gorm

A golang web server built with gin web framework and gorm ORM. Uses sqlite as the database.

Usage

# Clone this project 
https://github.com/chilldenaya/gin-gorm.git

# Run locally
make run-dev

Main Structure

├── routes
│   └── student.go // student routes and controller callers
│   └── main.go // routes initiator
├── controllers
│   └── student.go // student controllers
├── models
│   ├── student.go // student model
│   ├── db.go // db initiator
├── dto
│   ├── student.go // student data transfer object (request and response)
└── main.go

About

My gin-gorm template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages