saveinmed/backend/internal/http/handler
Tiago Yamamoto 19c636164b refactor(handler): extract product and inventory handlers
- Extract 7 handlers to product_handler.go (216 lines)
  - CreateProduct, ListProducts, GetProduct, UpdateProduct, DeleteProduct
  - ListInventory, AdjustInventory
- handler.go reduced from 1025 to 806 lines
- Total refactoring: ~60% of original (1471 -> 806)

All tests passing
2025-12-20 08:02:02 -03:00
..
company_handler.go refactor(handler): extract company handlers + update READMEs 2025-12-20 07:58:37 -03:00
dto.go refactor(handler): extract DTOs and helpers to dto.go 2025-12-20 07:54:35 -03:00
handler.go refactor(handler): extract product and inventory handlers 2025-12-20 08:02:02 -03:00
handler_test.go fix: resolve swagger duplicates and add backend tests 2025-12-19 20:28:39 -03:00
product_handler.go refactor(handler): extract product and inventory handlers 2025-12-20 08:02:02 -03:00