soccer-ksport-api/
├── .docker/ # Docker configuration files
│ ├── build/ # Production build Dockerfiles
│ └── dev/ # Development Dockerfiles and scripts
├── cmd/
│ └── api/ # Application entry point
│ └── main.go # Main function
├── internal/ # Core application logic (private)
│ ├── common/ # Shared utilities and helpers
│ ├── cron/ # Scheduled tasks and cron jobs
│ ├── domain/ # Domain entities and business rules
│ │ ├── event/ # Event-related domain logic
│ │ ├── interfaces/ # Domain interfaces
│ │ ├── market/ # Betting market domain logic
│ │ ├── odds/ # Odds-related domain logic
│ │ └── team/ # Team-related domain logic
│ ├── handlers/ # HTTP and event handlers (Odds processors)
│ ├── infrastructure/ # External concerns (DB, MQ, Repositories)
│ │ ├── database/ # DB connection and migrations
│ │ ├── rabbitmq/ # RabbitMQ integration
│ │ ├── repositories/ # Data access implementations
│ │ └── worker/ # Background workers
│ ├── interfaces/ # External interfaces (HTTP, etc.)
│ │ └── http/ # HTTP server and routing
│ ├── pkg/ # Reusable packages (e.g., telegram)
│ └── usecases/ # Application-specific business logic
├── tmp/ # Temporary files and logs
├── .air.toml # Air configuration for live reloading
├── .env # Environment variables
├── .env.example # Template for environment variables
├── .gitignore # Git ignore patterns
├── .gitlab-ci.yml # GitLab CI/CD configuration
├── docker-compose.yml # Docker Compose orchestration
├── Dockerfile # Dockerfile for the application
├── go.mod # Go module definition
├── go.sum # Go module checksums
├── Makefile # Build and automation tasks
├── README.md # Project overview
├── run.bat # Windows startup script
└── SYSTEM_DOCUMENTATION.md # Core system documentation
Modified at 2026-03-26 10:33:43