go gin 渲染HTML 仅做记录
main.gopackage mainimport ( "github.com/xiuno/gin" "net/http")func main() { r := gin.Default() r.LoadHTMLGlob("view/*") r.GET("/", func(c *gin.Context) { c.HTML(http.StatusOK, "index.h...