mirror of
https://github.com/gin-gonic/gin.git
synced 2026-01-12 01:26:56 +08:00
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>