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 |
|