← Back to archive

Stdle #31 · interfaces · 2026-07-07

What does this Go snippet output?

A past puzzle — fully playable. 4 attempts, hints on wrong guesses.

package main
import "fmt"
func main() {
var i interface{}
fmt.Println(i == nil)
}
Interfaces
4 attempts left

Answer & explanation