News for hackers. Stuff that matters.
Re:Ask HN: Companies of one, what is your tech stack? by ggregoire on Wednesday August 25, 2021 @01:18PM (#28304185)
Is there a way to write and import the queries from a SQL file in Go? Like HugSQL (Clojure) or PugSQL (Python).

To benefit from the SQL tooling (syntax highlighting, autocomplete and so on).

Re:Ask HN: Companies of one, what is your tech stack? by yawn on Wednesday August 25, 2021 @02:04PM (#28304797)
Re:Ask HN: Companies of one, what is your tech stack? by daoman on Wednesday August 25, 2021 @02:32PM (#28305167)
Yes, and it's super easy to do nowdays with embed since Go 1.16 https://blog.carlmjohnson.net/post/2021/how-to-use-go-embed/