mirror of
https://github.com/aykhans/dodo.git
synced 2025-07-02 00:16:20 +00:00
🎨 Format files
This commit is contained in:
@ -6,9 +6,5 @@ func IsNilOrZero[T comparable](value *T) bool {
|
||||
}
|
||||
|
||||
var zero T
|
||||
if *value == zero {
|
||||
return true
|
||||
}
|
||||
|
||||
return false
|
||||
return *value == zero
|
||||
}
|
||||
|
Reference in New Issue
Block a user