Обложка канала

Библиотека Go разработчика

8531 @goproglib

Полезные материалы по всему, что может быть полезно разработчику на Go.

Библиотека Go разработчика

4 года назад
Открыть в
sqlc в действии: пошаговый туториал для Go-разработчика. Читать
Creating an API using Go and sqlc

When writing a Go application that handles data in a database (in this post, I will focus on relational databases), we have a few options: write SQL queries using some lib that implements the stdlib interfaces use some lib that facilitates SQL generation, like Squirrel although not as widespread as in other languages, we can use some ORMs, like the ones listed here use a tool to generate code from SQL queries I will present in this post a project that fits in the last category: sqlc.

My name is Elton 👋