Golang SQL Beginner Tutorial + SQLX

preview_player
Показать описание
Learn how to connect to a sql database in go. Execute queries and map data from the database into structs/slices. Also taking a look at the sqlx package to make life easier.

Posts Table Schema:

create table posts
(
id bigint unsigned auto_increment primary key,
title varchar(255) not null,
content text not null,
created_at timestamp default current_timestamp() not null
);
Рекомендации по теме
Комментарии
Автор

Hi we really need more golang videos...Please make them..Your explanation was so simple and better than others.
Also if u can just show once the update controller it will be so helpful

playpoint
Автор

Wow, uploaded right when I needed this video.

alexpena
Автор

Awesome, tutorial! Also your microphone is so buttery

abdicodes
Автор

Is the video blurry only for me? I am not able to clearly see the video content.

selvakumarmurugesan
Автор

Please make a video on validating the request body

richardwilliam
Автор

hi, how to chang code style same your in goland. != how to chang style show same you ?

AGISSERVER
Автор

Have you considered making a simple react + redux + typescript auth web app? I really loved your react + redux + TS video, gave me a good starting point for learning TS. I know people say that there's no perfect tutorial but I think they just haven't found your video yet =)

dkshadow
Автор

i find your style of explaining really nice, but its frustrating that you are showing how to do sql operations with go with all these extensive addons, like Postman, or this gin thingy. Also it would be nice if you show the error handling statements everytime. As a newbeginner, I feel like it's important to get a thorough understanding of the topic. Additionally, I want to implement the newly learned stuff as fast as possible, w/o having to learn about these addons you're using as well. Please stick to the basics next time and do a groundup education, with as little extra addons as possible!

macklemo
visit shbcf.ru