我需要创建一个html页面,显示.html文件中数据库中存在的所有“论坛”。示例:{{withindex.0}}{{.Name}}{{.Descr}}{{end}}{{withindex.1}}{{.Name}}{{.Descr}}{{end}}funcindex(whttp.ResponseWriter,r*http.Request){forums:=GetForumsFromDB()//returnasliceoftype
2024-02-09评论:0访问次数:926