- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for io (0.15 sec)
-
doc/go_spec.html
type I interface { m() } func f(y I) { s := y.(string) // illegal: string does not implement I (missing method m) r := y.(io.Reader) // r has type io.Reader and the dynamic type of y must implement both I and io.Reader … } </pre> <p> A type assertion used in an <a href="#Assignment_statements">assignment statement</a> or initialization of the special form </p>
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)