go-chi / go-chi/render

Missing a generic "Render" like unrolled/render

Open
#2 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Go
Stars
339
Forks
66
PR merge metrics
No merged PRs in 30d

Description

Hi,
I wanted to use the package, due to Bind and already using chi (of course), but I missed an easier way to encode structs like I do with @unrolled/render:

render.JSON(w, http.StatusOK, data)

Could you explain why that is a bad idea (if it is) ?
Thanks for chi!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.