gin路由打开html页面,gin 无法返回html
如题:package mainimport ("github.com/gin-gonic/gin""net/http")func main() {r := gin.Default()r.GET("/login", func(context *gin.Context) {context.HTML(http.StatusOK, "login.html", gin.H{})})r.Run(":8080"