golang-layout-tpl-example
A small example how to implement page templates using the same layout in Go. Just for education purposes. (by ckilb)
element
Native Go (golang) HTML generator - template eliminator (by rohanthewiz)
golang-layout-tpl-example | element | |
---|---|---|
1 | 1 | |
1 | 8 | |
- | - | |
3.7 | 0.0 | |
5 months ago | about 1 year ago | |
Go | Go | |
- | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
golang-layout-tpl-example
Posts with mentions or reviews of golang-layout-tpl-example.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-10.
-
Templ: A language for writing HTML user interfaces in Go
https://github.com/ckilb/golang-layout-tpl-example
I don't like Go's template engine too much, I find it a bit cumbersome in many cases. But it's quite capable.
element
Posts with mentions or reviews of element.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-10.
-
Templ: A language for writing HTML user interfaces in Go
Here are a couple:
https://github.com/julvo/htmlgo
https://github.com/rohanthewiz/element
I'm sure there are many more.
The thing about these is that performance is often not as good as when using templates, especially when the templates are compiled to native code. Quicktemplate [1] is still the leader here IMO, and I don't think the OP project brings much that couldn't be done pretty easily with QT.
[1] https://github.com/valyala/quicktemplate
What are some alternatives?
When comparing golang-layout-tpl-example and element you can also consider the following projects:
webxx - Declarative, composable, concise & fast HTML & CSS components in C++
templ - A language for writing HTML user interfaces in Go.