Go application setup with PostgreSQL, sqlx, goose migrations

  Рет қаралды 1,526

Make Programming Fun Again

Make Programming Fun Again

Күн бұрын

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: github.com/moroz/goma/tree/20...
Websites visited in the video:
github.com/jmoiron/sqlx
github.com/lib/pq
www.postgresql.org/docs/curre...
www.postgresql.org/docs/curre...
direnv.net
github.com/pressly/goose

Пікірлер: 6
@thuanquoc1231
@thuanquoc1231 2 ай бұрын
Sometimes I just watch how people do stuff and see if I'm doing stuff correctly or effectively. Thank you for making this video 😁👍
@MakeProgrammingFunAgain
@MakeProgrammingFunAgain 2 ай бұрын
I'm probably neither, but at least I'm having fun in the process!
@milanutekal5083
@milanutekal5083 Күн бұрын
Cześć Karol. Świetny filmik. Używam tych samych narzędzi.
@andrii7879
@andrii7879 2 ай бұрын
this tutorial is awesome! super helpful
@MakeProgrammingFunAgain
@MakeProgrammingFunAgain 2 ай бұрын
Glad I could help!
@superchillh3o
@superchillh3o Ай бұрын
Awesome
The standard library now has all you need for advanced routing in Go.
13:52
Installing MySQL and Creating Databases | MySQL for Beginners
12:04
Alex The Analyst
Рет қаралды 193 М.
Заметили?
00:11
Double Bubble
Рет қаралды 2,5 МЛН
How many pencils can hold me up?
00:40
A4
Рет қаралды 18 МЛН
어른의 힘으로만 할 수 있는 버블티 마시는법
00:15
진영민yeongmin
Рет қаралды 9 МЛН
Can you beat this impossible game?
00:13
LOL
Рет қаралды 45 МЛН
SQLC in Go - Auto-Generating Database Code in Golang
32:02
BugBytes
Рет қаралды 7 М.
AstroDB might be the easiest SQL setup you can get
9:15
Web Dev Cody
Рет қаралды 11 М.
Generate PDFs Using Go and LaTeX in 6 mins (Ancient Technology Series)
6:02
Make Programming Fun Again
Рет қаралды 483
The (almost) perfect Neovim setup for Node.js
20:37
Dreams of Code
Рет қаралды 67 М.
RAG + Langchain Python Project: Easy AI/Chat For Your Docs
16:42
Learn SQL Basics in Just 15 Minutes!
16:57
Kenji Explains
Рет қаралды 100 М.
Golang Tutorial #22 - Interfaces
12:19
Tech With Tim
Рет қаралды 99 М.
Go Error Handling Best Practices & Advanced Tips
6:49
Golang Dojo
Рет қаралды 33 М.
Kubernetes Tutorial for Beginners [FULL COURSE in 4 Hours]
3:36:55
TechWorld with Nana
Рет қаралды 8 МЛН
How To Install PostgreSQL on Ubuntu 22.04 LTS (Linux)
14:58
ProgrammingKnowledge
Рет қаралды 98 М.
Топ-3 суперкрутых ПК из CompShop
1:00
CompShop Shorts
Рет қаралды 325 М.
Latest Nokia Mobile Phone
0:42
Tech Official
Рет қаралды 491 М.
Эволюция телефонов!
0:30
ТРЕНДИ ШОРТС
Рет қаралды 6 МЛН
как спасти усилитель?
0:35
KS Customs
Рет қаралды 515 М.
Mi primera placa con dios
0:12
Eyal mewing
Рет қаралды 409 М.
How much charging is in your phone right now? 📱➡️ 🔋VS 🪫
0:11