How to convert string to lowercase in Golang

  • 07 May 2019
  • ADM

How to convert a string into lowercase in Golang using ToLower method from strings package.


How to convert string to hex string in Golang

  • 26 June 2020
  • ADM

How to convert a string into a hex string in Golang using EncodeToString method from encoding/hex package.


How to convert hex to string in Golang

  • 12 April 2019
  • ADM

How to convert hex to string in Golang using the DecodeString method from encoding/hex package.


Java Custom Annotations Example

  • 26 July 2018
  • ADM

How to create Java Custom Annotation. A simple example of creating Annotations in Java and usage by calling the Reflection API.


How to execute shell command from Java

  • 20 June 2018
  • ADM

How to execute a shell command from Java using Runtime.getRuntime().exec() method.


How to generate UUID / GUID in Java

  • 19 June 2018
  • ADM

How to generate UUID / GUID in Java using java.util.UUID class, UUID.randomUUID() method.