Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for mock (0.14 sec)

  1. doc/go1.17_spec.html

    of an interface type or of elements of a composite type remains unchanged:
    </p>
    
    <pre>
    // A Mutex is a data type with two methods, Lock and Unlock.
    type Mutex struct         { /* Mutex fields */ }
    func (m *Mutex) Lock()    { /* Lock implementation */ }
    func (m *Mutex) Unlock()  { /* Unlock implementation */ }
    
    // NewMutex has the same composition as Mutex but its method set is empty.
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
Back to top