Re:Go performance from version 1.2 to 1.18
by maattdd on Friday February 04, 2022 @10:18AM
(#30207807)
In Rust: https://github.com/launchbadge/sqlx
In Haskell: https://hackage.haskell.org/package/esqueleto
Either it analyzes the given SQL to determine the in/out types of each SQL query, or it calls the database describe feature at compile-time.
I did see a post the other day criticizing Go's standard template language and approach. Maybe someday someone will stand up and build an alternative, more advanced template engine - it can just be a library, after all.