Commit graph

4 commits

Author SHA1 Message Date
18d987caf7 Minor test improvements 2025-07-08 11:32:06 -05:00
1c16a893d6 Refactor ResponseHelper and add ResponderHandler
- Modified ResponseHelper.Body signature to return an io.Reader and an error.
- Updated ResponseHandler.ServeHTTP to handle errors from ResponseHelper.Body.
- Implemented JSONResponse and JSONResponseWithStatus functions for easier JSON responses.
- Added comprehensive unit tests for JSON response handling, including error scenarios.
- Extended Helper.ResponderHandler with a new test case to ensure proper error handling and response generation.
- Resolved linting issues related to dynamic error definition and function length in tests.
2025-07-08 09:12:53 -05:00
a136616088 Implement Handler and HandlerFunc, add comprehensive tests 2025-07-07 21:39:47 -05:00
aa7dfb532f 🚧 Scaffold basic functionality 2025-07-07 21:37:05 -05:00