You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using go-health together with gin-gonic I'm finding it hard to format the JSON output from NewJSONHandlerFunc().
Would it be possible to update the signature of NewJSONHandlerFunc() to include some kind of config? I don't really know what approach that would be the best, but some pseudo examples:
When using go-health together with gin-gonic I'm finding it hard to format the JSON output from
NewJSONHandlerFunc()
.Would it be possible to update the signature of
NewJSONHandlerFunc()
to include some kind of config? I don't really know what approach that would be the best, but some pseudo examples:Or something simple like:
Like I said, I don't know the best (go) approach for this. And if this is possible somehow already I would be happy for all the information I can get.
Thanks for a very nice project.
The text was updated successfully, but these errors were encountered: