Complete Go for Professional Developers

Complete Go for Professional Developers

English | MP4 | AVC 3840×2160 | AAC 44KHz 2ch | 58 Lessons (7h 59m) | 8.52 GB

The Complete Course on Building Backend Web Apps with Go

This two day workshop focused on everything you need to start using and developing with the Go programming language. We’ll start by setting up an HTTP server. We’ll create CRUD APIs for a Postgres database and write unit tests to ensure our API is reliable.

You’ll learn:

  • Gain experience with Go to build http backend web applications
  • Learn how to write unit tests
  • How to use real and test databases
  • How to get familiar with Go data structures and interfaces
Table of Contents

1 Introduction
2 Course Overview
3 What is Go
4 Installing Running Go
5 Writing Your First main go
6 Variables Basic Types
7 Constants Enums
8 Functions
9 Conditional Statements
10 Loops
11 Arrays
12 Slices
13 Maps
14 Structs
15 Pointers Struct Methods
16 Role-Playing Game Exercise
17 Creating the Go Project
18 Creating an HTTP Server
19 Parsing Command-Line Flags
20 Chi Router
21 API Route Handlers
22 Postgres Database Docker Container
23 pgx Driver for PostgreSQL
24 SQL Migrations with Goose
25 Running Goose Migrations
26 Defining Data Types in Store
27 CreateWorkout Query
28 CreateWorkout Handler
29 Testing CreateWorkout Endpoint with cURL
30 Getting Workouts By ID
31 Updating Workouts
32 Handlers for Getting Updating Workouts
33 Deleting Workouts
34 JSON Response Writer Refactor
35 Logging JSON Error Responses
36 Using a Testing Database
37 Connecting to the Test Database
38 Testing CreateWorkout Success
39 Testing CreateWorkout Errors
40 Running Tests in Go
41 Managing User Data
42 User SQL Queries
43 Validating User Data
44 Register User API
45 Hashing Storing User Passwords
46 Token Authentication OAuth 2 0
47 Creating a Tokens Table
48 Generating JSON Web Tokens
49 Token API Handlers
50 Testing the Authentication Routes
51 Getting User Tokens
52 Modifying Request Context
53 Authentication Middleware
54 Protecting Routes with Middleware
55 Adding User ID Migration
56 Validating User Workout Ownership
57 Testing API Endpoints
58 Wrapping Up

Homepage