Welcome to the part 11 of Golang tutorial series. In this tutorial, we will learn about Arrays and Slices in Go. Arrays An array is a collection of elements that belong to the same type. For example, the collection of integers 5, 8, 9, 79, 76 forms an array. Mixing values of different types, for example, an array that contains both strings and integers is not allowed in Go. Declaration An array belongs to type [n]T.