14 lines
195 B
Go
14 lines
195 B
Go
|
package web
|
||
|
|
||
|
import (
|
||
|
"github.com/gin-gonic/gin"
|
||
|
"net/http"
|
||
|
)
|
||
|
|
||
|
func Index(c *gin.Context) {
|
||
|
content := gin.H{
|
||
|
"title": "HTML Smuggling",
|
||
|
}
|
||
|
c.HTML(http.StatusOK, "index.gohtml", content)
|
||
|
}
|