Empty interface in Golang

Earlier, we discussed the interfaces in Golang and how we can use them in our programs. Interfaces contain a set of method declarations without their implementations, but we can also have interfaces with no method declarations as well, we call them empty interfaces. An empty interface in Golang is an interface without any method declarations. …

Empty interface in Golang Read More »