Skip to content

πŸ“‚ A Golang Boilerplate Clean Architecture

Notifications You must be signed in to change notification settings

ChaiyapatOam/go-clean-fiber-boiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Golang Clean Architecture Boilerplate

Built with

  • Go
  • Fiber
  • MySQL
  • sqlx

Run in Development

Recommend run with devcontainer (extension in vscode)

go run .

Wanna use features?

you can use another extension feature in branch

git clone -b with-auth https://github.com/ChaiyapatOam/go-clean-fiber-boiler.git

switch to main branch

git branch -m with-auth main

force push main

git push --force origin main

Folder Structure

.
β”œβ”€β”€ πŸ“‚config/
β”‚ └── config.go
β”œβ”€β”€ πŸ“‚controller/
β”‚ └── user.controller.go
β”œβ”€β”€ πŸ“‚db/
β”‚ └── mysql.go
β”œβ”€β”€ πŸ“‚domain/
β”‚ └── user.go
β”œβ”€β”€ πŸ“‚internal/
β”‚ β”œβ”€β”€ πŸ“‚payload
β”‚ └── πŸ“‚validator
β”œβ”€β”€ πŸ“‚repository/
β”‚ └── user.repository.go
β”œβ”€β”€ go.mod
β”œβ”€β”€ go.sum
β”œβ”€β”€ main.go
└── README.md

About

πŸ“‚ A Golang Boilerplate Clean Architecture

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published