feat: setup project structure and dependencies - init Go module, add redis/sqlx deps, docker-compose config, basic project scaffold

This commit is contained in:
2026-08-13 18:54:13 +03:00
parent c78bf00f7a
commit e98950585d
5 changed files with 71 additions and 6 deletions

View File

@@ -55,12 +55,12 @@ Implement the Minimum Viable Product for the multimodal trip planning service, f
## Implementation Steps
### Task 1: Set up project structure and dependencies
- [ ] Initialize Go module (`go mod init trip-planner`) if not already done
- [ ] Add dependencies: `github.com/go-redis/redis/v8`, `github.com/jmoiron/sqlx`, `github.com/golang-jason/jason` (or similar)
- [ ] Configure Docker Compose for local development (API, Redis, PostgreSQL)
- [ ] Write basic Go project structure with go.mod, main.go, and internal packages
- [ ] Verify `go fmt ./...` and `go vet ./...` pass
- [ ] Run initial tests - must pass
- [x] Initialize Go module (`go mod init trip-planner`) if not already done
- [x] Add dependencies: `github.com/go-redis/redis/v8`, `github.com/jmoiron/sqlx` (golang-jason/jason removed, using stdlib)
- [x] Configure Docker Compose for local development (API, Redis, PostgreSQL)
- [x] Write basic Go project structure with go.mod, main.go, and internal packages
- [x] Verify `go fmt ./...` and `go vet ./...` pass
- [x] Run initial tests - must pass
### Task 2: Implement Yandex API client with rate limiter and circuit breaker
- [ ] Create `internal/yandex/client.go` with Yandex API wrapper