Skip to content

Tag Archives: Golang

In Go language, strings are different from other languages like Java, C++, Python, etc. It is a sequence of variable-width characters where each and every… Read More
In Go language, strings are different from other languages like Java, C++, Python, etc. It is a sequence of variable-width characters where each and every… 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
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
Go language interfaces are different from other languages. In Go language, the interface is a custom type that is used to specify a set of… Read More
Hello, World! is the first basic program in any programming language. Let’s write the first program in the Go Language using the following steps: First… Read More
In Go language, it is allowed to create two or more methods with the same name in the same package, but the receiver of these… Read More
Go language support methods. Go methods are similar to Go function with one difference, i.e, the method contains a receiver argument in it. With the… Read More
As we know that a channel is a medium of communication between concurrently running goroutines so that they can send and receive data to each… Read More
In Go language, a channel is a medium through which a goroutine communicates with another goroutine and this communication is lock-free. Or in other words,… Read More
Golang is a procedural programming language. It was developed in 2007 by Robert Griesemer, Rob Pike, and Ken Thompson at Google but launched in 2009… Read More
In Go structure, promoted fields are just like anonymous fields, the type of the field is the name of the field. We use this concept… Read More
A structure or struct in Golang is a user-defined type, which allows us to create a group of elements of different types into a single… Read More
A structure or struct in Golang is a user-defined type, which allows us to create a group of elements of different types into a single… Read More
In Go language, defer statements delay the execution of the function or method or an anonymous method until the nearby functions returns. In other words,… Read More