Skip to content

adisnuhic/go-gin-ntier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is basic setup of N tier arcitecture with Gin framework.

Arch is consisted of 4 layers:

  • Controllers
  • Business
  • Services
  • Repositories
  1. Migrations are implemented with go migrate and they are executed when you build the project.
  2. GORM is used as a ORM.
  3. Entry point of the app is main.go file where everything starts. Golobby container is used to setup DI container.
  4. Unit tests are implemented for repository and service layer

About

N-tier architecture with the Gin framework

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published