Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for repair (0.16 sec)

  1. doc/go1.17_spec.html

    If the type is omitted, the constants take the
    individual types of the corresponding expressions.
    If the expression values are untyped <a href="#Constants">constants</a>,
    the declared constants remain untyped and the constant identifiers
    denote the constant values. For instance, if the expression is a
    floating-point literal, the constant identifier denotes a floating-point
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  2. doc/go_spec.html

    corresponding type parameters have corresponding constraints.
    </p>
    
    <pre>
    type Pair[A, B any] struct {
    	a A
    	b B
    }
    
    func (p Pair[A, B]) Swap() Pair[B, A]  { … }  // receiver declares A, B
    func (p Pair[First, _]) First() First  { … }  // receiver declares First, corresponds to A in Pair
    </pre>
    
    <h2 id="Expressions">Expressions</h2>
    
    <p>
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
Back to top