Skip to content

Glossary: Algorithms Beyond the Basics in Go

defer

Also written: defer file.Close()

A Go keyword that runs a call when the surrounding function returns, however it returns. It is used to close files.

Where the book teaches it

Related terms

CSV (comma-separated values)