gin
gin copied to clipboard
Possibility to return raw HTML?
I see tons of example for returning JSON and HTML Templates, but nothing show how to just properly return some raw HTML
Please give me a working example and I'll PR' the docs with it!
I found this example finally:
c.Data(http.StatusOK, "text/html", []byte(html))
Let me know if this is what's recommended and I'll close this