how to type an interface golang code example
Example 1: interfaces in golang
The interface is a collection of methods as well as it is a custom type.
Example 2: interface to int golang
iAreaId := val.(int)
iAreaId, ok := val.(int) // Alt. non panicking version