
Tech
I built RespKit to make Go API responses easier to manage
I've been working on RespKit , a Go package for keeping HTTP responses consistent across an application.
The idea came from something pretty ordinary: writing the same response-formatting and error-handling code in different handlers. One endpoint returns data , another returns result , and error responses gradually pick up their own formats too.
I wanted a shared place to handle those decisions, with simple defaults and room to customize things as an application grows.
Repo: github...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to