mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-18 14:52:18 +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>