Skip to content

Glossary: Go Basics

nil pointer dereference

Also written: invalid memory address

A panic caused by reading a field through a pointer that is `nil` and so points nowhere. It is one of the most common Go crashes.

Where the book teaches it

Related terms

nil