On the 5th of February 2023, I had the privilege of giving a talk at the PostgreSQL devroom during FOSDEM 2023 titled "When it all GOes right." My talk focused on the process of creating programs in the Go language using a PostgreSQL database. It was an incredible opportunity to share my insights and experiences with fellow open-source enthusiasts from around the world, and to discuss the latest trends and developments in this rapidly evolving field. In this blog post, I'll provide the key takeaways and links to the sources to explore some of the most exciting innovations in Go and PostgreSQL programming. Slides in PDF format are available on the FOSDEM PgDay 2023 event page.
Table of Contents
You are currently viewing a placeholder content from Youtube. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.
These are well-known products:
These are PostgreSQL-related:
You can find more on Awesome Go.
According to the developer surveys, the most highly-preferred editors for Go code are:
I highly recommend using the following tools in your work:
There was a question about generating Go structures and code based on PostgreSQL objects. I highly recommend trying the kyleconroy/sqlc package for this purpose.
Read go-database-sql.org to have an idea about idiomatic way to use a SQL, or SQL-like, database in Go is through the database/sql package
.
lib/pq - pure Go Postgres driver for database/sql
is currently in maintenance mode.
For new projects, you want to use jackc/pgx.
There are three ways to test your application's PostgreSQL-specific functionality:
For every one of my projects, I have at least these 5 GitHub Actions workflows enabled:
In conclusion, FOSDEM 2023 was an inspiring experience. I want to highlight the importance of clean code, open-source collaboration, and, of course, community. I hope these takeaways will encourage you to explore the world of open-source programming. Thank you for joining me on this journey, and I look forward to continuing to explore this exciting field with you!
Meanwhile check out these projects written in Go and maintained by the CYBERTEC PostgreSQL international team:
In order to receive regular updates on important changes in PostgreSQL, subscribe to our newsletter, or follow us on Twitter, Facebook, or LinkedIn.
You need to load content from reCAPTCHA to submit the form. Please note that doing so will share data with third-party providers.
More InformationYou are currently viewing a placeholder content from Facebook. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.
More InformationYou are currently viewing a placeholder content from X. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.
More Information
Leave a Reply