Skip to content

Tag Archives: Golang-Misc

Formatting of source code adds an important feature to the quality and readability of the code. In Golang, we have built-in packages and commands to… Read More
Template in Golang is a robust feature to create dynamic content or show customized output to the user. Golang has two packages with templates: text/template… Read More
Go language provides inbuilt support for base64 encoding/decoding and has functions that could be used to perform operations on the given data using the base64… Read More
A switch is a multi-way branch statement used in place of multiple if-else statements but can also be used to find out the dynamic type… Read More
Type assertions in Golang provide access to the exact type of variable of an interface. If already the data type is present in the interface,… Read More
A Regular Expression (or RegEx) is a special sequence of characters that defines a search pattern that is used for matching specific text. In Golang,… Read More
Go language provides inbuilt support for base64 encoding/decoding and has functions that could be used to perform operations on the given data using the base64… Read More
Go language provides inbuilt support for command-line parsing and has functions that could be used to define flags to be used with a command-line program… Read More
The three dots (…) in Golang is termed as Ellipsis in Golang which is used in the variadic function. The function that called with the… Read More