- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for io (0.13 sec)
-
doc/go1.17_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="#Assignments">assignment</a> or initialization of the special form </p> <pre>
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 211.6K bytes - Viewed (0)