Go supports composite types such as array, slice, maps and structures. We discussed about Arrays and Slices in the previous blog, now is the time to go through the concept of maps in Golang. One of the most useful data structures in computer science is the hash table. Almost every language provides a hash table … Continue reading Golang composite data types – Maps
Category: Go composite types
Golang composite data types – Arrays and Slices
Go supports composite types such as array, slice, maps and structures. Composite types are made up of other types – built-in types and user-defined types. In this blog we will deal with arrays and slices. Golang Arrays An array is collection of elements of same data type, for instance an array can be collection of … Continue reading Golang composite data types – Arrays and Slices