cast interface to int golang 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