Stdle #96 · 2026-09-10
What does this log?
Read the snippet and type its exact console output. You get 4 attempts — each wrong guess unlocks a hint.
package main import "fmt" type W struct{ v int } func (w *W) String() string { return fmt.Sprintf("W(%d)", w.v) } func main() { w := &W{7} fmt.Println(w)}Interfaces