github.com/GregorioDiStefano/go-file-storage@v0.0.0-20161001105139-5707ab351525/controllers/index.go (about) 1 package controller 2 3 import ( 4 "net/http" 5 6 "github.com/gin-gonic/gin" 7 ) 8 9 func IndexPage(c *gin.Context) { 10 c.HTML(http.StatusOK, "index.tmpl", gin.H{}) 11 return 12 }