Go (Golang) Crash Course: The Complete Language Tour

Coding with Patrik

Coding with Patrik

16,081 views

πŸš€ Write Go Like a Senior Engineer β†’ https://levelupgo.dev?utm_source=yout...

A complete crash course of Go (Golang) fast & easy. In about 20 minutes. We cover the whole language: variables, functions, error handling, loops, slices and maps, structs and interfaces, and Go's concurrency model with goroutines and channels.
Good starting point if you already program and want to get a tour of go.

⏱️ Timeline
0:00  Introduction
0:10  Declaring variables (var and :=)
1:42  Constants
1:55  Printing with fmt
2:18  If / else conditionals
3:16  Switch statements
3:51  Functions
4:18  Multiple return values
4:58  defer & cleanup
5:37  Error handling
6:40  Loops
7:30  Arrays
9:06  Slices
10:54 Maps
11:44 Structs
12:24 Methods
13:20 Pointer receivers
13:45 Composition (struct embedding)
14:55 Interfaces
16:06 Goroutines
16:53 Channels
18:11 WaitGroups
18:41 select
19:13 Generics
19:46 Wrap-up