update
This commit is contained in:
@@ -2,7 +2,6 @@ package main
|
||||
|
||||
import (
|
||||
"embed"
|
||||
"fmt"
|
||||
"gin-article/handler"
|
||||
"path/filepath"
|
||||
|
||||
@@ -43,7 +42,6 @@ func Router() *gin.Engine {
|
||||
r := gin.Default()
|
||||
|
||||
r.HTMLRender = loadTemplates("./tmpl")
|
||||
fmt.Println(r.HTMLRender)
|
||||
r.Static("/statics", "statics")
|
||||
|
||||
r.GET("/", handler.Index)
|
||||
|
||||
Reference in New Issue
Block a user