Add Makefile
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
This commit is contained in:
parent
b9bb9a8fe0
commit
18b0d52b3f
4 changed files with 65 additions and 3 deletions
cmd/distribyted
|
@ -99,6 +99,8 @@ func main() {
|
|||
}
|
||||
}
|
||||
|
||||
gin.SetMode(gin.ReleaseMode)
|
||||
|
||||
r := gin.New()
|
||||
|
||||
r.Use(ginlogrus.Logger(log), gin.Recovery())
|
||||
|
@ -112,8 +114,6 @@ func main() {
|
|||
|
||||
r.SetHTMLTemplate(t)
|
||||
|
||||
// r.LoadHTMLGlob("templates/*")
|
||||
|
||||
r.GET("/", func(c *gin.Context) {
|
||||
c.HTML(http.StatusOK, "index.html", nil)
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue