- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for correcte (0.14 sec)
-
doc/go_spec.html
a <a href="#Run_time_panics">run-time panic</a> occurs. In other words, even though the dynamic type of <code>x</code> is known only at run time, the type of <code>x.(T)</code> is known to be <code>T</code> in a correct program. </p> <pre> var x interface{} = 7 // x has dynamic type int and value 7 i := x.(int) // i has type int and value 7 type I interface { m() } func f(y I) {
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu May 02 22:43:51 GMT 2024 - 279.6K bytes - Viewed (0)