Skip to content

Glossary: Go Basics

any

Also written: empty interface

The interface with no methods, so every type satisfies it. A variable of type `any` can hold any value, which is how `fmt.Println` accepts whatever you pass it.

Where the book teaches it