英文:
Is there any Go port of haml or slim?
问题
我发现自己在使用Go编写Web内容,并发现内置的模板引擎很“有趣”。我在我的Ruby项目中想念haml(或slim)。我进行了快速搜索,但没有找到类似的东西。是否有将haml或slim移植到Go的版本?
英文:
I found myself coding web stuff with Go and find the in-built template engine to be 'interesting'. I miss haml (or slim) from my Ruby projects. A quick search gave me nothing of the sort. Are there any ports of haml or slim to Go?
答案1
得分: 8
我在Google搜索“haml golang”时得到了几个顶部的结果:
- https://github.com/realistschuckle/gohaml
- https://github.com/dddaisuke/go-haml
- https://groups.google.com/d/msg/golang-nuts/LmicV9aQJOw/aTY_SNkcQssJ
英文:
I get several entries at the top of a Google search for haml golang
:
答案2
得分: 6
Slim模板引擎<http://slim-lang.com/>是最简单语法的模板引擎,被认为是最好的模板引擎之一。
https://github.com/yosssi/gold 受到Slim和Jade的影响。
https://github.com/eknkc/amber 受到HAML和Jade的启发。
https://github.com/acsellers/bham 类似HAML的Blocky Hypertext Abstraction Markup。
https://github.com/travissimon/ghaml 类似HAML的语言。
https://github.com/a2800276/gaml 简化版的Golang HAML。
https://github.com/bengentil/gojade 由Go实现的Jade模板引擎。
英文:
Slim template engine <http://slim-lang.com/> the best among template engines by reason of the simplest syntax.
https://github.com/yosssi/gold
influenced by Slim and Jade
https://github.com/eknkc/amber
inspired from HAML and Jade
https://github.com/acsellers/bham
haml-like Blocky Hypertext Abstraction Markup
https://github.com/travissimon/ghaml
haml-like language
https://github.com/a2800276/gaml
simplified haml for golang
https://github.com/bengentil/gojade
Jade Template Engine implemented by Go
答案3
得分: 2
请查看 https://github.com/yosssi/ace。Ace 是作者所说的 Gold 的改进版本。
我认为语法与 Slim 非常相似。
英文:
Please, check out https://github.com/yosssi/ace. Ace is a refinement of Gold as the author said.
I think the syntax is pretty similar to Slim.
答案4
得分: 1
这是一个用于Go语言的轻量级模板引擎。
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论