mirror of
https://github.com/ggicci/httpin.git
synced 2024-11-28 08:49:05 +02:00
3.0 KiB
3.0 KiB
httpin
HTTP Input for Go - Decode an HTTP request into a custom struct
Documentation |
Quick View
Before (use net/http) | After (use httpin) |
---|---|
|
|
Why this package?
Items | Before (use net/http package) | After (use ggicci/httpin package) |
---|---|---|
Developer Time | 😫 Expensive (too much parsing stuff code) | 🚀 Faster (define the struct for receiving input data and leave the parsing job to httpin) |
Code Repetition Rate | 😞 High | Lower |
Code Readability | 😟 Poor | Highly readable |
Maintainability | 😡 Poor | 😍 Highly maintainable |