Tag: Type Conversion

Golang Interface Syntax, Composing, and Empty Interfaces

In this blog, we will learn about Golang Interface Syntax. Let’s see what we are going to learn in Golang Interface Syntax. Syntax of Golang Interface Basics of Golang Interface Composing Interfaces Empty Interface in Golang Before learning Golang Interface make sure Basics of Golang are clear: Golang Interface Syntax type <Interface_name> interface { // Method – Initialization } Example:…
Read more