mirror of https://github.com/gin-gonic/gin.git
820b43916a
This new `StringHTML()` method will allow users to render HTML without the need of an actual file on disk. Example: ``` r.GET("/saludos", func(c *gin.Context) { c.StringHTML(200, "<html><body>Hola amigo!</body></html>") }) ``` Signed-off-by: Salim Afiune <salim@afiunemaya.com.mx> |
||
---|---|---|
.. | ||
data.go | ||
html.go | ||
json.go | ||
msgpack.go | ||
redirect.go | ||
render.go | ||
render_test.go | ||
text.go | ||
xml.go | ||
yaml.go |