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.


How to write CSV file in Golang

  • 21 December 2019
  • ADM

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


How to measure execution time in Golang

  • 19 December 2019
  • ADM

To mesure the time used by an application in Golang or of a code section the functions time.Now() and time.Since() can be used.


How to generate a fixed length random string using Golang

  • 18 February 2018
  • ADM

How to generate a fixed length random string using Golang using a dictionary of chars.


How to generate random numbers in a range using Java

  • 19 July 2017
  • ADM

How to generate random numbers in a range using Java. A simple method using SecureRandom, class.


Java 8 Streams filter examples

  • 06 July 2017
  • ADM

Java 8 Streams filter examples. Simple examples comparing the classic approach pre-Java 8 and using the new Java 8 functionalities.