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.


Switch case statements in Golang

  • 20 April 2020
  • ADM

The switch statement is an easier way to have a sequence of if-else statements. In Golang you don't need to have break at the end of each case, it breaks implicitly. Also the golang switch statement work on values of any type.


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.


Interfaces in Golang

  • 10 April 2020
  • ADM

Interfaces are collections of method signatures. A interface type can hold any value that implements those methods. The empty interface is an interface type that specifies zero methods. A type assertion provides access to an interface underlying concrete value. Two interfaces are equal if they have equal concrete values and identical dynamic types, or if both are nil.


How to show open database connections in MySQL

  • 07 April 2020
  • ADM

How to show open database connections in MySQL using show status and show processlist command.


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.