
Go Reader and Writer Interfaces Explained Simply
The Go Reader and Writer interfaces are two tiny interfaces that move data between files, networks, strings and more. In this post, you will…
Topic
Golang tutorials and guides: Go basics, concurrency, goroutines, channels and backend development with Go.

The Go Reader and Writer interfaces are two tiny interfaces that move data between files, networks, strings and more. In this post, you will…

Go methods are functions that belong to a type, and they are how you add behaviour to your structs. In this post, you will…

Go functional options are a clean way to build objects that have many settings. In this post, you will learn why long constructors become…

Go error wrapping lets you add context to an error without losing the original cause. In this post, you will learn how %w, errors.Is,…

A Go in-memory cache keeps recent results inside your program, so you do not repeat slow work. In this post, you will build a…

Go pagination lets your API return a long list in small pages instead of one huge reply. In this post, you will learn two…

A Go circuit breaker stops your program from calling a service that is already failing. In this post, you will learn the three states…

Go retry backoff is a simple idea. When a call fails, wait a little and try again, then wait longer each time. In this…

Go health checks are small HTTP endpoints that tell a platform whether your service is alive and ready for traffic. In this post, you…

Go microservices split one big application into small services that talk to each other over the network. In this post, you will learn what…