Generate type-safe code from SQL
https://sqlc.dev/ might help you
Miscellaneous genomics tools and data structures
Additionally, you can use text.template. Here is an example of a SQL file that I embed with embed.Fs and which also uses template features.
Truly a developer’s best friend. Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.
How can I generate SQL code from GORM?
1 project | reddit.com/r/golang | 20 Sep 2022
Why ORMs Aren't Always a Great Idea
1 project | dev.to | 15 Jul 2022
Taming SQL and ORMs with sqlc
1 project | dev.to | 7 Jun 2022
Sqlc – generate fully type-safe idiomatic code from SQL
1 project | news.ycombinator.com | 9 May 2022
Taming SQL and ORMs with sqlc — go get it #001
1 project | reddit.com/r/golang | 28 Apr 2022