Raj Ranjan

Struct in Golang

Golang provides built-in data types like integer, string, float, etc which is very useful for writing simple programs but if you want to write a complex program, you need to…

Read Data in Golang

Capturing the user input is a very important feature of any programming language. we can also read data or user input in Golang Scan Method of fmt package in Golang…

Variadic function in Golang

The variadic function in Golang supports accepting multiple input parameters with just one variable name. This is a special form available for the last parameter in any Golang function. The…

Function in Golang

Function in Golang is an isolated piece of statements that are assigned a unique name and can be used multiple times in your project. Advantages of using function Signature of…

Map in Golang

Map in Golang is an unordered collection of key-value pairs. A map is sometimes called an associative array, hash table, or dictionary Declare a Map in Golang There are five…