← 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

Introduction to Go (Golang Setup & First Program). - Go Tutorial for Beginners #1

Sandy LaneVideoQuiz available
1
Variables & Data Types (var, :=, const, Zero Values) - Go Tutorial for Beginners #2 -

Variables & Data Types (var, :=, const, Zero Values) - Go Tutorial for Beginners #2 -

Sandy LaneVideoQuiz available
2
Strings & Formatting (Printf, strings Package, Slicing) - Go Tutorial for Beginners #3

Strings & Formatting (Printf, strings Package, Slicing) - Go Tutorial for Beginners #3

Sandy LaneVideoQuiz available
3
Numbers & Math (Integers, Floats, Math Package) - Go Tutorial for Beginners #4

Numbers & Math (Integers, Floats, Math Package) - Go Tutorial for Beginners #4

Sandy LaneVideoQuiz available
4
User Input (fmt.Scan, bufio, os.Args, strconv) - Go Tutorial for Beginners #5

User Input (fmt.Scan, bufio, os.Args, strconv) - Go Tutorial for Beginners #5

Sandy LaneVideoQuiz available
5
Control Flow: if/else (Conditionals & Logical Operators)  - Go Tutorial for Beginners #6

Control Flow: if/else (Conditionals & Logical Operators) - Go Tutorial for Beginners #6

Sandy LaneVideoQuiz available
6
Control Flow: switch (Multi-Way Branching & Type Switch) - Go Tutorial for Beginners #7

Control Flow: switch (Multi-Way Branching & Type Switch) - Go Tutorial for Beginners #7

Sandy LaneVideoQuiz available
7
Loops: for (Range, Break, Continue & Labels) - Go Tutorial for Beginners #8

Loops: for (Range, Break, Continue & Labels) - Go Tutorial for Beginners #8

Sandy LaneVideoQuiz available
8
Arrays & Slices (Append, Make, Copy & Slicing) - Go Tutorial for Beginners #9

Arrays & Slices (Append, Make, Copy & Slicing) - Go Tutorial for Beginners #9

Sandy LaneVideoQuiz available
9
Maps (Key-Value Storage, Comma-Ok Idiom & Iteration) - Go Tutorial for Beginners #10

Maps (Key-Value Storage, Comma-Ok Idiom & Iteration) - Go Tutorial for Beginners #10

Sandy LaneVideoQuiz available
10
Functions (Parameters, Returns & Separate Files) - Go Tutorial for Beginners #11

Functions (Parameters, Returns & Separate Files) - Go Tutorial for Beginners #11

Sandy LaneVideoQuiz available
11
Variadic Functions (Variable Arguments & Spread Operator) - Go Tutorial for Beginners #12

Variadic Functions (Variable Arguments & Spread Operator) - Go Tutorial for Beginners #12

Sandy LaneVideoQuiz available
12
Anonymous Functions & Closures (Factory Pattern) - Go Tutorial for Beginners #13

Anonymous Functions & Closures (Factory Pattern) - Go Tutorial for Beginners #13

Sandy LaneVideoQuiz available
13
Pointers (Memory Addresses & Dereferencing) - Go Tutorial for Beginners #14

Pointers (Memory Addresses & Dereferencing) - Go Tutorial for Beginners #14

Sandy LaneVideoQuiz available
14
Structs (Custom Data Types & Nested Structs) - Go Tutorial for Beginners #15

Structs (Custom Data Types & Nested Structs) - Go Tutorial for Beginners #15

Sandy LaneVideoQuiz available
15
Methods, Value vs Pointer Receivers Explained | Learn Golang #16

Methods, Value vs Pointer Receivers Explained | Learn Golang #16

Sandy LaneVideoQuiz available
16
Interfaces Tutorial - Polymorphism & Type Assertions | Learn Golang #17

Interfaces Tutorial - Polymorphism & Type Assertions | Learn Golang #17

Sandy LaneVideoQuiz available
17
Embedding - Composition Over Inheritance | Learn Golang #18

Embedding - Composition Over Inheritance | Learn Golang #18

Sandy LaneVideoQuiz available
18
Error Handling: errors.New, Wrapping & Custom Types | Go Tutorial #19

Error Handling: errors.New, Wrapping & Custom Types | Go Tutorial #19

Sandy LaneVideoQuiz available
19
Defer, Panic & Recover - Error Handling Patterns - Go Tutorial #20:

Defer, Panic & Recover - Error Handling Patterns - Go Tutorial #20:

Sandy LaneVideoQuiz available
20
Packages & Modules Explained | Go Tutorial #21

Packages & Modules Explained | Go Tutorial #21

Sandy LaneVideoQuiz available
21
File I/O Tutorial - Read, Write, Scanner & Append | Go Tutorial #22

File I/O Tutorial - Read, Write, Scanner & Append | Go Tutorial #22

Sandy LaneVideoQuiz available
22
JSON Tutorial - Marshal, Unmarshal, Struct Tags & Nested Data | Go Tutorial #23

JSON Tutorial - Marshal, Unmarshal, Struct Tags & Nested Data | Go Tutorial #23

Sandy LaneVideoQuiz available
23
Concurrent Programming with Goroutines - Go Tutorial for Beginners #24

Concurrent Programming with Goroutines - Go Tutorial for Beginners #24

Sandy LaneVideoQuiz available
24
Goroutine Communication with Channels - Go Tutorial for Beginners #25 -

Goroutine Communication with Channels - Go Tutorial for Beginners #25 -

Sandy LaneVideoQuiz available
25
Non-Blocking Channel Operations - Go Tutorial for Beginners #26

Non-Blocking Channel Operations - Go Tutorial for Beginners #26

Sandy LaneVideoQuiz available
26
Thread-Safe Programming with sync - Go Tutorial for Beginners #27

Thread-Safe Programming with sync - Go Tutorial for Beginners #27

Sandy LaneVideoQuiz available
27
Context Package: Cancellation, Timeouts & Deadlines | Go Tutorial #28

Context Package: Cancellation, Timeouts & Deadlines | Go Tutorial #28

Sandy LaneVideoQuiz available
28
Table Tests, Subtests & Helpers | Go Tutorial #29

Table Tests, Subtests & Helpers | Go Tutorial #29

Sandy LaneVideoQuiz available
29
Benchmarks & Profiling: Measure Performance with pprof | Go Tutorial #30

Benchmarks & Profiling: Measure Performance with pprof | Go Tutorial #30

Sandy LaneVideoQuiz available
30
REST API Calls Without External Libraries: Go net/http Tutorialn #31

REST API Calls Without External Libraries: Go net/http Tutorialn #31

Sandy LaneVideoQuiz available
31
Go net/http Server: Handlers, Routing & Middleware | Tutorial #32

Go net/http Server: Handlers, Routing & Middleware | Tutorial #32

Sandy LaneVideoQuiz available
32
SQLite: CRUD, Migrations & Prepared Statements | Go Tutorial #33

SQLite: CRUD, Migrations & Prepared Statements | Go Tutorial #33

Sandy LaneVideoQuiz available
33
GORM in Golang: Structs to Database Tables Made Easy | Go Tutorial #34

GORM in Golang: Structs to Database Tables Made Easy | Go Tutorial #34

Sandy LaneVideoQuiz available