Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for maximum (0.17 sec)

  1. doc/go_spec.html

    elements are set to the zero value for the array element type.
    It is an error to provide elements with index values outside the index range
    of the array. The notation <code>...</code> specifies an array length equal
    to the maximum element index plus one.
    </p>
    
    <pre>
    buffer := [10]string{}             // len(buffer) == 10
    intSet := [6]int{1, 2, 3, 5}       // len(intSet) == 6
    days := [...]string{"Sat", "Sun"}  // len(days) == 2
    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