Go application setup with PostgreSQL, sqlx, goose migrations

Опубликовано: 02 Март 2024
на канале: Make Programming Fun Again
10,292
308

00:00 Introduction and Setup
01:03 Project Setup
02:05 Troubleshooting Database Role Issues
03:15 Setting Up Database and Connection
03:55 Connect to Database in Go
04:50 Reading Config from Environment Variables
06:39 Database Migrations
08:58 Conclusion and Future Plans

This video covers:
setting up a new Go project,
configuring PostgreSQL,
writing a PostgreSQL connection URL,
installing and configuring sqlx, pq, goose,
executing simple SQL query with sqlx,
schema migrations with goose.

Code for this video is available at: https://github.com/moroz/goma/tree/20...

Websites visited in the video:

https://github.com/jmoiron/sqlx
https://github.com/lib/pq
https://www.postgresql.org/docs/curre...
https://www.postgresql.org/docs/curre...
https://direnv.net
https://github.com/pressly/goose


На этой странице сайта вы можете посмотреть видео онлайн Go application setup with PostgreSQL, sqlx, goose migrations длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Make Programming Fun Again 02 Март 2024, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 10,292 раз и оно понравилось 308 зрителям. Приятного просмотра!