Strings functions in Golang

  • 19 April 2020
  • ADM

List of Golang string functions tested example and short description.

The strings package provides many useful string-related functions.

Base64 Encode in Golang

  • 15 April 2020
  • ADM

Golang programing language provides built-in suport for base64 encoding. The base64 functions are available into the encoding/base64 package. It provides implementations for both Standard, with or without padding and Filename safe Base64 encoding variant.

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.

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.

Abstract keyword in Java

  • 10 March 2020
  • ADM

The abstract keyword is used in Java for abstraction. The abstraction is the process of selecting data and displaying only the relevant details to the object. If helps to reduce the programing complexity and the efort.