mirror of
https://github.com/hanzoai/expr.git
synced 2026-09-24 16:58:58 +00:00
Fix code style
This commit is contained in:
@@ -260,7 +260,6 @@ func Negate(i interface{}) interface{} {
|
||||
return -v
|
||||
case float64:
|
||||
return -v
|
||||
|
||||
case int:
|
||||
return -v
|
||||
case int8:
|
||||
@@ -271,7 +270,6 @@ func Negate(i interface{}) interface{} {
|
||||
return -v
|
||||
case int64:
|
||||
return -v
|
||||
|
||||
case uint:
|
||||
return -v
|
||||
case uint8:
|
||||
@@ -282,7 +280,6 @@ func Negate(i interface{}) interface{} {
|
||||
return -v
|
||||
case uint64:
|
||||
return -v
|
||||
|
||||
default:
|
||||
panic(fmt.Sprintf("invalid operation: - %T", v))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user