Sending emails with Golang

  • 20 June 2020
  • ADM

To send an email directly from Golang you can use the package smtp which implements the Simple Mail Transfer Protocol (SMTP) as defined in RFC 5321. You also need a mail server, for this tutorial will use the Gmail mail server.


Base64 Decode in Golang

  • 15 April 2020
  • ADM

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


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.


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.


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.


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.