Go Arrays

From NovaOrdis Knowledge Base
Revision as of 06:10, 27 March 2016 by Ovidiu (talk | contribs)
Jump to navigation Jump to search

Internal

Overview

An array is a numbered sequence of elements, of a single type, and with a fixed length.

Declaration

var a [5]int

A declaration without explicit initialization initializes the array with the type's zero value.

Array Literals