mirror of
https://github.com/gin-gonic/gin.git
synced 2026-06-07 12:48:16 +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>