[hw-2] add tests, coverage, benchmarks

This commit is contained in:
Никита Шубин
2025-05-31 10:47:47 +00:00
parent 1a3d4892a8
commit a0e36639ca
22 changed files with 3058 additions and 48 deletions

View File

@@ -42,7 +42,7 @@ func (s *Server) GetItemsByUserIDHandler(w http.ResponseWriter, r *http.Request)
if err != nil {
makeErrorResponse(w, err, http.StatusNotFound)
log.Trace().Err(err).Msgf("cartService.GetItemsByUserID: %d", http.StatusInternalServerError)
log.Trace().Err(err).Msgf("cartService.GetItemsByUserID: %d", http.StatusNotFound)
return
}