Controller: HTTP I/O, request validation, response shaping. Service: Business rules; orchestrates repository calls. Repository: Persistence access; abstracts GORM ...