Interfaces in Go (Part-2)
Type assertion Type assertion is used to get the underlying concrete value of the interface variable. i.(Type) this is the syntax of type assertion, where: i -> interface variable Type -> type that implements the interface Let's see an example of typ...
Oct 21, 20229 min read166

