func Int(v interface{}) int {
	if v1, ok := v.(int); ok {
		return v1
	}
	if v1, ok := v.(string); ok {
		n, _ := strconv.Atoi(v1)
		return n
	}
	return 0
}
// Int returns int value of v if v is an int,
// or 0 otherwise.
Int returns int value of v if v is an int,
or 0 otherwise.
// Int returns int value of v if v is an int // or 0 otherwise .
func Int(v interface{}) int {
	if v1, ok := v.(int); ok {
		return v1
	}
	if v1, ok := v.(string); ok {
		n, _ := strconv.Atoi(v1)
		return n
	}
	return 0
}
func Int ( v interface { } ) int { if v1 , ok := v . ( int ) ; ok { return v1 } if v1 , ok := v . ( string ) ; ok { n , _ := strconv . Atoi ( v1 ) return n } return 0 }
Int returns int value of v if v is an int,
or 0 otherwise.
Int returns int value of v if v is an int or 0 otherwise .