Project ini adalah boilerplate/service starter berbasis Golang + Echo dengan integrasi ke PostgreSQL, Redis, dan MinIO.
Cocok untuk microservice atau REST API modern dengan dependency yang umum dipakai.
- Golang:
go1.23.2 windows/amd64
- Echo: web framework ringan & cepat
- GORM: ORM untuk PostgreSQL
- PostgreSQL: database relasional
- Redis: in-memory cache & message broker
- MinIO: object storage (S3 compatible)
- Docker: untuk container service
- lumberjack: log rotation per hari
.
βββ config/ # konfigurasi (DB, Redis, MinIO, Logger)
βββ internal/
β βββ handler/ # HTTP handler (Echo)
β βββ model/ # Model GORM
β βββ repository/ # Repository (DB access)
β βββ service/ # Business logic service
β βββ usecase/ # Use case orchestration
β βββ migration/ # AutoMigrate DB
β βββ routes/ # Routing Echo
βββ main.go # Entry point
βββ go.mod