Understand the project folder structure
developThe project follows a Clean Architecture pattern. Key directories include:
/bootstrap: Modules required to start the application./console: Server commands (rungo run main.go -helpfor details)./domain: Core business logic. Contains models, constants, and sub-folders for each domain (e.g.,/domain/user) containing its controller, repository, routes, and services./domain/models: GORM ORM models./migrations: Database migration files managed by Atlas./pkg: Shared packages:/pkg/errorz: Custom error types and handlers./pkg/framework: Core components (env parsing, logger)./pkg/infrastructure: Third-party connections (AWS, DB, router)./pkg/middlewares: HTTP middlewares./pkg/responses: Standardized HTTP response structures./pkg/services: Shared clients for external services (S3, SES, etc.).
/tests: Unit and integration tests.main.go: Application entry point.