Open smallnest opened 4 years ago
https://colobu.com/2019/11/05/Golang-Templates-Cheatsheet/
嗯,写的挺好的,如果需要更多了解,请看我的github项目,谢谢!
不错。很全很详细,有例子有说明。
整理很全面,受教了!
其中的最后一段代码中,vd貌似没有与user关联,
vd := ViewData{}
是否应该改成
vd := ViewData{User:user}
才合适?望指教,感谢。
https://colobu.com/2019/11/05/Golang-Templates-Cheatsheet/