How to iterate over a Map in Golang

  • 16 November 2020
  • ADM

How to iterate over a Map in Golang using the for range loop statement.


Maps in Golang

  • 14 April 2020
  • ADM

Golang maps implements a hash table. Hash tables are one of the most used data structure. A hash table is an unordered collection of key-value pairs, where each key is unique.


Arrays in Golang

  • 12 April 2020
  • ADM

An array is a data structure with a fixed size containing elements (items) of the same type. Iterate over an array using for loop or for range loop.


For loop examples in Golang

  • 13 April 2020
  • ADM

How to write a for loop using Golang programming language. Similar with other programing languages, the basic for loop has three components separated by semicolons.


All keywords in Java

  • 09 March 2020
  • ADM

Keywords are special words in the programing language which have reserved use in the language. Keywords may not be used as identifiers in Java; for example you cannot declare a field whose name is a keyword.


How to read CSV file in Golang

  • 23 December 2019
  • ADM

How to read CSV file in Golang using reader from encoding/csv package. For this example we took an simple example of a CSV file containing three columns name, address and phone.