Code AnalysisHard 180s
Nil Interface Trap
Read the code and determine the output.
Starter code
type T struct{}
func(t*T)String()string{return"T"}
var t*T=nil
var i fmt.Stringer=t
fmt.Println(i==nil)Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.