แยก Domain, Repository, UseCase และ Handler ให้ชัดเจนด้วย Dependency Injection บน Go Separate Domain, Repository, UseCase and Handler clearly with Dependency Injection in Go

Clean Architecture คือแนวคิดการออกแบบซอฟต์แวร์ที่แยก concern ออกจากกันอย่างชัดเจน ทำให้โค้ดทดสอบง่ายและขยายได้

Clean Architecture is a software design philosophy that clearly separates concerns, making code easy to test and extend.