Making http.Handler a little easier
Find a file
Dan Jones 5a38283bb0 Add JSONBodyHandler and tests
- Implemented JSONBodyHandler for automatic JSON body parsing.
- Added comprehensive unit tests for JSONBodyHandler covering successful decoding, invalid JSON, empty bodies, and error propagation.
- Refactored handler_test.go to improve test structure and resolve linting issues (funlen, gocritic).
2025-07-08 16:04:28 -05:00
.gitignore 🚧 Scaffold basic functionality 2025-07-07 21:37:05 -05:00
.golangci.yaml Minor test improvements 2025-07-08 11:32:06 -05:00
go.mod Implement Handler and HandlerFunc, add comprehensive tests 2025-07-07 21:39:47 -05:00
go.sum Implement Handler and HandlerFunc, add comprehensive tests 2025-07-07 21:39:47 -05:00
handler.go Add JSONBodyHandler and tests 2025-07-08 16:04:28 -05:00
handler_test.go Add JSONBodyHandler and tests 2025-07-08 16:04:28 -05:00
helper.go Refactor ResponseHelper and add ResponderHandler 2025-07-08 09:12:53 -05:00
helper_test.go Minor test improvements 2025-07-08 11:32:06 -05:00
response.go Refactor ResponseHelper and add ResponderHandler 2025-07-08 09:12:53 -05:00
response_test.go Minor test improvements 2025-07-08 11:32:06 -05:00
Taskfile.yml 🚧 Scaffold basic functionality 2025-07-07 21:37:05 -05:00