Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for consumer (0.03 seconds)

  1. doc/go_spec.html

    <pre>
    interface{}
    </pre>
    
    <p>
    For convenience, the predeclared type <code>any</code> is an alias for the empty interface.
    [<a href="#Go_1.18">Go 1.18</a>]
    </p>
    
    <p>
    Similarly, consider this interface specification,
    which appears within a <a href="#Type_declarations">type declaration</a>
    to define an interface called <code>Locker</code>:
    </p>
    
    <pre>
    type Locker interface {
    	Lock()
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Dec 02 23:07:19 GMT 2025
    - 286.5K bytes
    - Click Count (1)
Back to Top