- 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 |
||
|---|---|---|
| .. | ||
| config | ||
| domain | ||
| http | ||
| payments | ||
| repository/postgres | ||
| server | ||
| usecase | ||