As part of our product enhancements, we develop microservices using GO and Postgres. pgx was the driver of choice, given its superior performance w.r.t pq. However, the procedural nature of coding in pgx or pq was a stumbling block for developer productivity. Hence we designed a typical single table access object, templatized it and used it as a basis to generate the entire database access code by reading Postgres meta-data. This has been hosted at https://github.com/umakanthdiwakar/pgx-daogen. Hope it proves useful. Feel free to post features you would like to see in the generator. Contributions are also welcome.
Uma -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.