← All blog series

































Golang for Beginners
Learn Go from zero — setup, variables and types, control flow, loops, slices, maps, structs, interfaces, error handling, goroutines, channels and modules. 34-episode beginner series.
34 posts
0

Introduction to Go (Golang Setup & First Program). - Go Tutorial for Beginners #1
Sandy Lane•Video•Quiz available
1

Variables & Data Types (var, :=, const, Zero Values) - Go Tutorial for Beginners #2 -
Sandy Lane•Video•Quiz available
2

Strings & Formatting (Printf, strings Package, Slicing) - Go Tutorial for Beginners #3
Sandy Lane•Video•Quiz available
3

Numbers & Math (Integers, Floats, Math Package) - Go Tutorial for Beginners #4
Sandy Lane•Video•Quiz available
4

User Input (fmt.Scan, bufio, os.Args, strconv) - Go Tutorial for Beginners #5
Sandy Lane•Video•Quiz available
5

Control Flow: if/else (Conditionals & Logical Operators) - Go Tutorial for Beginners #6
Sandy Lane•Video•Quiz available
6

Control Flow: switch (Multi-Way Branching & Type Switch) - Go Tutorial for Beginners #7
Sandy Lane•Video•Quiz available
7

Loops: for (Range, Break, Continue & Labels) - Go Tutorial for Beginners #8
Sandy Lane•Video•Quiz available
8

Arrays & Slices (Append, Make, Copy & Slicing) - Go Tutorial for Beginners #9
Sandy Lane•Video•Quiz available
9

Maps (Key-Value Storage, Comma-Ok Idiom & Iteration) - Go Tutorial for Beginners #10
Sandy Lane•Video•Quiz available
10

Functions (Parameters, Returns & Separate Files) - Go Tutorial for Beginners #11
Sandy Lane•Video•Quiz available
11

Variadic Functions (Variable Arguments & Spread Operator) - Go Tutorial for Beginners #12
Sandy Lane•Video•Quiz available
12

Anonymous Functions & Closures (Factory Pattern) - Go Tutorial for Beginners #13
Sandy Lane•Video•Quiz available
13

Pointers (Memory Addresses & Dereferencing) - Go Tutorial for Beginners #14
Sandy Lane•Video•Quiz available
14

Structs (Custom Data Types & Nested Structs) - Go Tutorial for Beginners #15
Sandy Lane•Video•Quiz available
15

Methods, Value vs Pointer Receivers Explained | Learn Golang #16
Sandy Lane•Video•Quiz available
16

Interfaces Tutorial - Polymorphism & Type Assertions | Learn Golang #17
Sandy Lane•Video•Quiz available
17

Embedding - Composition Over Inheritance | Learn Golang #18
Sandy Lane•Video•Quiz available
18

Error Handling: errors.New, Wrapping & Custom Types | Go Tutorial #19
Sandy Lane•Video•Quiz available
19

Defer, Panic & Recover - Error Handling Patterns - Go Tutorial #20:
Sandy Lane•Video•Quiz available
20

Packages & Modules Explained | Go Tutorial #21
Sandy Lane•Video•Quiz available
21

File I/O Tutorial - Read, Write, Scanner & Append | Go Tutorial #22
Sandy Lane•Video•Quiz available
22

JSON Tutorial - Marshal, Unmarshal, Struct Tags & Nested Data | Go Tutorial #23
Sandy Lane•Video•Quiz available
23

Concurrent Programming with Goroutines - Go Tutorial for Beginners #24
Sandy Lane•Video•Quiz available
24

Goroutine Communication with Channels - Go Tutorial for Beginners #25 -
Sandy Lane•Video•Quiz available
25

Non-Blocking Channel Operations - Go Tutorial for Beginners #26
Sandy Lane•Video•Quiz available
26

Thread-Safe Programming with sync - Go Tutorial for Beginners #27
Sandy Lane•Video•Quiz available
27

Context Package: Cancellation, Timeouts & Deadlines | Go Tutorial #28
Sandy Lane•Video•Quiz available
28

Table Tests, Subtests & Helpers | Go Tutorial #29
Sandy Lane•Video•Quiz available
29

Benchmarks & Profiling: Measure Performance with pprof | Go Tutorial #30
Sandy Lane•Video•Quiz available
30

REST API Calls Without External Libraries: Go net/http Tutorialn #31
Sandy Lane•Video•Quiz available
31

Go net/http Server: Handlers, Routing & Middleware | Tutorial #32
Sandy Lane•Video•Quiz available
32

SQLite: CRUD, Migrations & Prepared Statements | Go Tutorial #33
Sandy Lane•Video•Quiz available
33

GORM in Golang: Structs to Database Tables Made Easy | Go Tutorial #34
Sandy Lane•Video•Quiz available