Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ab (0.14 sec)

  1. doc/go1.17_spec.html

    </p>
    
    <p>
    For instance, given the declarations
    </p>
    
    <pre>
    var x = I(T{}).ab()   // x has an undetected, hidden dependency on a and b
    var _ = sideEffect()  // unrelated to x, a, or b
    var a = b
    var b = 42
    
    type I interface      { ab() []int }
    type T struct{}
    func (T) ab() []int   { return []int{a, b} }
    </pre>
    
    <p>
    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/go_spec.html

    </p>
    
    <p>
    For instance, given the declarations
    </p>
    
    <pre>
    var x = I(T{}).ab()   // x has an undetected, hidden dependency on a and b
    var _ = sideEffect()  // unrelated to x, a, or b
    var a = b
    var b = 42
    
    type I interface      { ab() []int }
    type T struct{}
    func (T) ab() []int   { return []int{a, b} }
    </pre>
    
    <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