Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
gwd
on May 26, 2023
|
parent
|
context
|
favorite
| on:
That people produce HTML with string templates is ...
I just switched my project from open-coded SQL to goqu; inspired by this article, I searched for "golang html builder" and got this project:
https://github.com/julvo/htmlgo
Which definitely looks interesting.
abound
on May 26, 2023
[–]
In a similar-but-also-totally-opposite vein to goqu is sqlc [1], where you write the SQL and the Go bindings get generated.
[1]
https://sqlc.dev/
gwd
on May 26, 2023
|
parent
[–]
Having type-safe calls to queries would be sweet. In my case I'm actually constructing multiple variations of fairly complicated queries using SQLite, and am trying to avoid repeating myself.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
https://github.com/julvo/htmlgo
Which definitely looks interesting.