Type switches in Golang
A type-switch in Go is just like the switch statement but with types. In this post, we will go into details about the type-switches in Go. But first, we need to understand the switch statement. What is a switch statement? A switch statement is a control flow which checks for a condition to match and […]
Type switches in Golang Read More »