Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for composants (0.05 seconds)

  1. doc/go_spec.html

    </p>
    
    <p>
    Interfaces that are not <a href="#Basic_interfaces">basic</a> may only be used as type
    constraints, or as elements of other interfaces used as constraints.
    They cannot be the types of values or variables, or components of other,
    non-interface types.
    </p>
    
    <pre>
    var x Float                     // illegal: Float is not a basic interface
    
    var x interface{} = Float(nil)  // illegal
    
    type Floatish struct {
    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