How to use JSON Object in JavaScript

  • 06 February 2020
  • ADM

JSON is part of JavaScript programming language and is the main choise when it comes to data manipulation in JavaScript.

JSON is used from storing data, transfering data between client and server to configuring data.


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 trim whitespace from string in Golang

  • 25 September 2019
  • ADM

How to trim (remove) leading and trailing whitespace from string in Golang using the TrimSpace, Trim, TrimLeft, TrimRight methods from strings package.


How to split a string into slice in Golang

  • 15 May 2019
  • ADM

How to split a string into slice using Golang. For a simple split by a singular character you can use Split() method from strings package. For more complex rules the regexp.Split() method can be used.


How to convert string to uppercase in Golang

  • 08 May 2019
  • ADM

How to convert a string into uppercase in Golang using ToUpper method from strings package.