Interfaces

golang

“How To Use Interfaces in Golang?”

Reading Time: 4 minutes What is an interface? Interface types are one special kind of type in Go. An interface in Go is a type defined using a set of method signatures. The interface defines the behavior of a similar type of object.Go has great support for interfaces and they are implemented in an implicit way. They allow polymorphism in Go. An interface is an abstract concept that enables Continue Reading