mirror of
https://github.com/status-im/status-go.git
synced 2025-01-21 20:20:29 +00:00
ed5a5c154d
Move to a monorepo structure with submodules - Rename status-protocol-go to status-go/protocol
12 lines
222 B
Go
12 lines
222 B
Go
// +build go1.13
|
|
|
|
package protocol
|
|
|
|
import "reflect"
|
|
|
|
// isZeroValue reports whether v is the zero value for its type.
|
|
// It panics if the argument is invalid.
|
|
func isZeroValue(v reflect.Value) bool {
|
|
return v.IsZero()
|
|
}
|