
Go Reflection Explained with Simple Examples
Go reflection lets a program look at its own types and values while it runs. In this post, you will learn what the reflect…
Topic
Golang tutorials and guides: Go basics, concurrency, goroutines, channels and backend development with Go.

Go reflection lets a program look at its own types and values while it runs. In this post, you will learn what the reflect…

Go clean architecture is a way to organise your code. It keeps business rules free from databases, web frameworks and other tools. In this…

The Go garbage collector cleans up memory that your program no longer uses, so you never call free by hand. In this post, you…

Go HTML templates let you build web pages from data, and they escape dangerous characters for you. In this post, you will learn the…

Go rate limiting protects your API by limiting how many requests each client can send in a given time. In this post, you will…

The Go pipeline pattern connects small steps with channels so data flows from one stage to the next. In this post, you will learn…

The Go race detector is a built-in tool that finds data races. These are some of the hardest bugs in concurrent code. In this…

Go httptest is a standard library package that lets you test HTTP handlers without opening a real port. In this post, you will learn…

Go table-driven tests let you check many inputs with one short piece of test code. In this post, you will learn how to list…

Go input validation means checking every piece of data a user sends before your code trusts it. In this post, you will learn what…