Is there any Haml port or thin one?

I found that I was coding web material with Go and found that the built-in template engine was “interesting”. I am missing haml (or thin) from my Ruby projects. A quick search did not give me anything like this. Are there any haml or slim ports for Go?

+4
source share
3 answers

Slim template engine http://slim-lang.com/ is the best among template engines due to its simple syntax.

https://github.com/yosssi/gold
influenced by Slim and Jade

https://github.com/eknkc/amber
inspired by 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

+5
source

Please check https://github.com/yosssi/ace . Ace is the refinement of gold, as the author said.

I think the syntax is pretty similar to Slim.

+1
source

Source: https://habr.com/ru/post/1500456/


All Articles