← Back to archive

Stdle #136 · interfaces · 2026-10-20

What does this Go snippet output?

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

package main
import "fmt"
func main() {
var a interface{} = 1
var b interface{} = int64(1)
fmt.Println(a == b)
}
Interfaces
4 attempts left

Answer & explanation