eebb5024 Jonni Liljamo
1 year, 4 months ago
1 2 3 4 5 6 7 8 9 10 11 12 13
package handlers import ( "net/http" "tixe/template" "github.com/gin-gonic/gin" ) func Login(c *gin.Context) { html := template.TmplEngine.Render("login.tmpl", map[string]interface{}{"notauthed": true}) c.Data(http.StatusOK, "text/html", html) }