Golang API Server Boilerplate (Work In Progress)
A boilerplate/starter project for quickly building APIs using Golang with Clean Architechture
🎨
Features
- Web Framework: Switchable between Mux. (will be added more later...)
- Logging: Switchable between Zap or plain logging.
- SQL database: Using GORM for ORM library. (will be added more later...)
- Testing: Use Testify for testing framework.
🌲
Project Folder Structure
+-- app
| +-- controller
| +-- entity
| +-- error
| +-- infrastructure
| | +-- gorm
| | | +-- database
| | | +-- repository
| | +-- http
| | +-- logging
| +-- usecase
+-- cmd