Commit Graph

4 Commits

Author SHA1 Message Date
dindang
a756c8c464 Update README with current project structure and features
- Add api/ package, model/response.go, logger, queue docs
- Document environment variables (WORKER_COUNT, LOG_DIR, LOG_LEVEL)
- Add cache strategy and async queue sections
- Update project structure tree
- Add GORM + raw SQL hybrid approach doc

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-16 10:40:06 +08:00
dindang
01a579ab9c Fix unhandled errors and dead code warnings
- Handle validateContent errors in worker.go
- Handle os.Remove errors in worker.go
- Remove dead CheckContent function from floor_handler.go
- Add comment markers for intentionally ignored errors
- Remove unused result variable

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-16 10:32:30 +08:00
dindang
cb7e595c27 Fix lint warnings and code cleanup
- Remove duplicate calc structs, use model.CalcXxx
- Replace log.Printf with logger in recommend handler
- Remove dead code (unused var, dummy imports)
- Clean up response helpers
- Add api/ package with route registration

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-16 10:29:11 +08:00
dindang
94895cbc22 Initial commit: FloorVisualizer backend
- Go API server with PostgreSQL + Redis
- AI floor replacement (OpenRouter Gemini)
- Product database (10 brands, 3539 products)
- Recommendation engine, calculator, articles
- Redis async queue + worker pool
- Hot product caching, brand view tracking
- JWT auth, favorites, projects
- Docker deployment ready

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-16 09:47:11 +08:00