Go Tutorial (Golang) 11 - GoLang enumerated constants part 2

In this video I am going to show you how to use write only variable denoted by only variable is also called as blank identifier.A blank identifier on the left-hand-side of the assignment avoids the need to create a dummy variable and makes it clear that the value is to be discarded. For instance, when calling a function that returns a value and an error, but only the error is important, use the blank identifier to discard the irrelevant value. All arithmetic, bitwise and bit shifting opera
Back to Top