Skip to content

Category Archives: Go Language

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
Arrays in Golang or Go programming language is much similar to other programming languages. In the program, sometimes we need to store a collection of… Read More
A structure or struct in Golang is a user-defined data type that allows to combine data types of different kinds and act as a record.… Read More
Default values can be assigned to a struct by using a constructor function. Rather than creating a structure directly, we can use a constructor to… Read More
Channels can be defined as pipes used for Goroutines to communicate. Similar to how water flows from one end to another in a pipe, data… Read More
Go language provides inbuilt support for bit counting and manipulation functions for the predeclared unsigned integer types with the help of the bits package. Function… Read More
Go is a open-source programming language developed at Google by Robert Griesemer, Rob Pike, and Ken Thompson. Go is similar to C syntactically but with… Read More
ContainsAny function is used to check whether any Unicode code points in chars are present in the string. It is an inbuilt function used to… Read More
Go language provides inbuilt support for basic constants and mathematical functions for complex numbers with the help of the cmplx package. Function Description Abs This… Read More
Go routines are a great selling point for golang, making it a choice of a lots of developers out there. In this post we will… Read More
Go language provides inbuilt support for generating random numbers of the specified type with the help of a math/rand package. This package implements pseudo-random number… Read More
Go language provides inbuilt support for basic constants and mathematical functions to perform operations on the numbers with the help of the math package.  Function… Read More
Parsing time is to convert our time to Golang time object so that we can extract information such as date, month, etc from it easily.… Read More
Array in Golang is a numbered sequence of elements of the same type. The size of the array is fixed. We can access the elements… Read More

Start Your Coding Journey Now!