Structs in Go: The Closest Thing to OOP You'll Get
Go doesn't have classes, so how do you create objects? This post walks through structs, struct literals, zero values, value vs pointer semantics, and receiver functions — and why Go still isn't OOP.
- golang
- go
- structs
- oop
- programming-basics