Skip to content

Restful API in Golang following best practices, built with gin, gorm(sqlite), and MVC architecture.

License

jwzheng96/gin-gorm-mvc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gin-gorm-mvc

Restful API in Golang following best practices, built with gin, gorm(sqlite), and MVC architecture.

目录说明

 .
├── Config      配置目录
├── Controllers 控制器
├── Models      model目录
├── Route       router
└── main.go     主文件
go mod init gin-gorm-mvc

go get github.com/go-sql-driver/mysql

go get github.com/gin-gonic/gin

go get github.com/jinzhu/gorm

go run main.go

About

Restful API in Golang following best practices, built with gin, gorm(sqlite), and MVC architecture.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages