# Golang Range Loop Reference - Why Your Loop Keeps Giving You the Same Pointer (and How to Fix It)
4 min read
When I first started learning Go, I thought I was doing everything right—until I ran into a weird bug about golang range loop reference. I was iterating over a list of Book structs (of course, I…