Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for io (1.28 sec)

  1. 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)
  2. doc/asm.html

    The document is not comprehensive.
    </p>
    
    <p>
    The assembler is based on the input style of the Plan 9 assemblers, which is documented in detail
    <a href="https://9p.io/sys/doc/asm.html">elsewhere</a>.
    If you plan to write assembly language, you should read that document although much of it is Plan 9-specific.
    The current document provides a summary of the syntax and the differences with
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  3. 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)
Back to top