Autoplay
Autocomplete
Previous Lesson
Complete and Continue
Build Your First Go App
Getting Started
Initializing Go Modules (3:40)
The Entry Point: main.go (5:37)
Spinning up an HTTP Server (7:44)
Sending Your First Request (4:28)
Writing Response Content (2:58)
Writing Json Response Content (4:22)
Response Structs (4:38)
Write JSON Helper (10:08)
Modelling Books with Structs (4:26)
List Books Handler (4:59)
Sending a Books Collection Request (1:03)
Connecting to Sqlite (4:55)
Opening a Database Connection (4:36)
Creating Database Tables (5:52)
Seeding The Database (8:38)
App Struct (1:44)
Methods and Receivers (3:40)
Scanning Database Rows (10:28)
Going Deeper
Organizing Routes and Handlers (6:32)
Book Response Struct (4:22)
Test Helper Functions (11:49)
Testing Handlers (16:59)
Go Stores (5:18)
Store Methods (3:46)
Initializing Stores (3:14)
Fixing a Failing Test (3:25)
Route Parameters (11:18)
Single Record Store Method (8:25)
Error Matching with errors.Is() (6:32)
Testing Single Record Handlers (6:57)
Comparing Structs (7:24)
Creating and Modifying Resources
Handling Post Requests (3:57)
Stubbed Responses (4:35)
Input Structs (3:12)
Parsing Client Data (2:28)
Validating Requests (8:20)
Book Response Struct
Lesson content locked
If you're already enrolled,
you'll need to login
.
Enroll in Course to Unlock