Learn Debugging with Go: The Ultimate Guide

Learn Debugging with Go: The Ultimate Guide

English | MP4 | AVC 1920×1080 | AAC 44KHz 2ch | 38 Lessons (3h 41m) | 728 MB

The Most important skill you were never taught.

Being able to debug locally and in production is a critical skill for any Go engineer, but it is rarely taught explicitly.

It has taken me many years of working with Go in production to master debugging with Go, and I want to accelerate your learning by teaching you everything I wish I had known when I started out.

Table of Contents

1 Welcome!
2 What is Debugging and why do we do it
3 Introduction
4 Understanding code patterns and being aware of common errors
5 Exercise Solution
6 Pair Programming
7 Story Time – How I used these techniques to solve a production issue
8 Introduction to Logging
9 Logging Locally, the simple way
10 Logging-for-production_-slog-and-log-levels
11 Logging-for-production_-slog_kibana-and-elastic-search
12 Exercise Solution (2)
13 Bonus Lesson httputil
14 Introduction to the Debugger
15 Setting up the Debugger in Goland
16 Setting up the debugger in VSCode
17 Reading panic traces, breakpoints, conditional breakpoints and debugging nil pointer exceptions
18 Debugging goroutines
19 tests-as-an-entry-point-to-debugging_-debugging-tests
20 Debugging a http request
21 Exercise Solution (3)
22 Using the Debugger to debug a Go application in a Docker container
23 Introduction to Metrics
24 What should I measure
25 Adding Metrics to an API written in Go
26 Introduction-to-Prometheus_-Building-Dashboard-in-Grafana
27 Exercise Solution (4)
28 Introduction to Distributed Tracing
29 Adding Traces to a Go API
30 Tracing across services
31 Exercise Solution (5)
32 Introduction to Profiling
33 Lets add Profiling to your Go Application
34 Profiling the Heap (Memory)
35 CPU tracing and pprof list
36 Profiling goroutine usage
37 Exercise Solution (6)
38 Bonus Lesson gotraceui and flight recording (new in Go 1.22)

Homepage