Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Gridin (0.23 sec)

  1. doc/go_spec.html

    </p>
    <pre>
    type Point3D struct { x, y, z float64 }
    type Line struct { p, q Point3D }
    </pre>
    
    <p>
    one may write
    </p>
    
    <pre>
    origin := Point3D{}                            // zero value for Point3D
    line := Line{origin, Point3D{y: -4, z: 12.3}}  // zero value for line.q.x
    </pre>
    
    <p>
    For array and slice literals the following rules apply:
    </p>
    <ul>
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 279.3K bytes
    - Viewed (0)
Back to top