messing around a bit

This commit is contained in:
tsmethurst
2021-02-27 22:57:50 +01:00
parent 503b77b768
commit fbf52fe84b
8 changed files with 124 additions and 0 deletions

View File

@ -0,0 +1,13 @@
package api
import (
"net/http"
"github.com/gin-gonic/gin"
)
func statusGet(c *gin.Context) {
c.HTML(http.StatusOK, "index.tmpl", gin.H{
"title": "Posts",
})
}