{"repo":"erfanul007/go-clean-template","free":true,"listed":false,"github":"https://github.com/erfanul007/go-clean-template","clone":"git clone https://github.com/erfanul007/go-clean-template.git","description":"Production-ready Go API template implementing Clean Architecture with Docker-first development and comprehensive tooling.","language":"Go","stars":12,"topics":["clean-architecture","go","open-source","template"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Go Clean Architecture Template A robust Go API template built following Clean Architecture principles and Domain-Driven Design (DDD) patterns. This project uses Docker-first development for consistency across all environments. 🚀 Quick Start Prerequisites - Docker & Docker Compose - Install Docker - Task (Taskfile) - Installation guide Note: No local Go installation required! All operations run in Docker containers via Task commands. Setup & Run Access Points: - API: http://localhost:8080 - Swagger UI: http://localhost:8080/swagger/index.html - Health Check: http://localhost:8080/health 🐳 Services Service Port Description --------- ------ ----------- API 8080 Go application with live reload PostgreSQL 5432 Primary database Redis 6379 Caching layer 📋 Essential Commands For advanced Docker operations, see DOCKER.md. 🏗️ Tech Stack Current: - Go 1.24 with Chi Router - PostgreSQL 15 + Redis 7 (configured) - Viper (config) + Zap (logging) - Swagger/OpenAPI documentation - Docker & Docker Compose (Docker-first development) - Task (Taskfile.yml) for all operations - Air for live reload in containers - Health monitoring endpoints Planned: - Ent ORM, JWT Authentication, Business Logic Implementation 📁 Project Structure 🏛️ Clean Architecture Layers This project implements Clean Architecture with clear separation of concerns: 🎯 Domain ( internal/domain/ ) Core business logic - Entities, value objects, business rules. No external dependencies. 🔄 Application ( internal/application/ ","default_branch":null,"files":null,"tree":[],"storefront":"/r/erfanul007","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/erfanul007/go-clean-template/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}