flysnow-org / comment

http://www.flysnow.org/ 博客的评论
http://www.flysnow.org/
1 stars 0 forks source link

2019/12/02/golang-template-soha-library #61

Open utterances-bot opened 4 years ago

utterances-bot commented 4 years ago

我做了一个开源项目 | 飞雪无情的博客

我做了一个开源项目

https://www.flysnow.org/2019/12/02/golang-template-soha-library.html

jerrybendy commented 4 years ago

最近在学习 Go,来支持一下 👍

flysnoworg commented 4 years ago

你这么快,我还没法公众号(定时今晚) @jerrybendy

jerrybendy commented 4 years ago

@rujews RSS 订阅啊,第一时间了解大神动态 😂

flysnoworg commented 4 years ago

NB @jerrybendy

kangxiaogang commented 4 years ago

最近也在研究模板,支持支持。 有个困扰了我一天的问题请教飞雪大神:golang 解析模板的时候是不支持子文件夹的吗?我在 /views/ 里有一个 index. gohtml, 其中用到 {{ template "footer" }},template footer 是在 /views/components/footer.gohtml 中,定义为 {{ define "footer" }}, 程序可以编译,但运行的时候显示 no such template "footer"? 搞了一天了不知道什么原因,求大神看一眼 谢谢!