Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
syntax_suggest
Searching for unexpected `end` syntax errors takes a lot of time. Let this gem do it for you!
> I can't say what problem it is supposed to solve
"Haml accelerates and simplifies template creation" https://haml.info/
If you'd rather write raw HTML, keeping track of closing tags etc, then don't use HAML. No need to bash it because you personally feel it is ugly or unnecessary. FWIW I personally feel the exact opposite.
SLIM is similar, but a bit cleaner: https://github.com/mattn/go-slim
Both SLIM and HAML resemble a DOM tree, it looks somewhat similar to what you would see in the browser inspector.
I use Haml in my web framework, I use syntax_suggest [1] to count the missing pairs so I can insert them automatically at the end of the block. It would probably not be too difficult to do the same thing in Go.
1. https://github.com/ruby/syntax_suggest/blob/main/lib/syntax_...