Skip to content

Simple GO REST API boilerplate with example folder structure and basic CRUD operations with mysql

Notifications You must be signed in to change notification settings

klys/go-gin-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Gin Boilerplate

This boilerplate comes with folder structure of a MVC framework as following:

  • accesors
  • controllers
  • models
  • routers

As explained:

Accesors

Are Data Access Objects, connection to the respective Database, in this case MySQL

Controllers

Define the behaviours of the routes, allowing the communication between the accessors and the routes

Models

Are the data definitions, struct mostly but also may contain specific logic for data manipulation

Routes

The REST API routes to interface to the outside world

About

Simple GO REST API boilerplate with example folder structure and basic CRUD operations with mysql

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages