The main use of the defer keyword in go is that it is used to clean up the resources used by opened files, network connections,… Read More
Tag Archives: Go-Keywords
With the help of fallthrough statement, we can use to transfer the program control just after the statement is executed in the switch cases even… Read More
In Golang Range keyword is used in different kinds of data structures in order to iterates over elements. The range keyword is mainly used in… 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
var keyword in Golang is used to create the variables of a particular type having a proper name and initial value. Initialization is optional at… Read More
A variable is a storage location or place holder used for holding the value. It allows us to manipulate and retrieve the stored information. There… Read More
Keywords or Reserved words are the words in a language that are used for some internal process or represent some predefined actions. These words are… Read More