एक type assertion interface value मधून concrete type काढून देते, आणि एक type switch interface च्या underlying type वर आधारित branch करते. हे interface (विशेषत: empty interface / any) मधून specific type information वापस मिळवण्याचा मार्ग आहे.
Type assertion — concrete type काढून देणे
i {} =
s := i.()
fmt.Println(s)
n := i.()
