golang interface type to int code example
Example: interface to int golang
iAreaId := val.(int)
iAreaId, ok := val.(int) // Alt. non panicking version
iAreaId := val.(int)
iAreaId, ok := val.(int) // Alt. non panicking version