Golang SQL Beginner Tutorial + SQLX

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 );
Back to Top