From 94e10b98b1558e160816e82090e68dd9a7e8b66c Mon Sep 17 00:00:00 2001 From: Pinank Solanki Date: Wed, 2 Feb 2022 03:23:29 +0530 Subject: [PATCH] Fix typo in float8 --- float8.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/float8.go b/float8.go index 4d9e7116..6297ab5e 100644 --- a/float8.go +++ b/float8.go @@ -204,7 +204,7 @@ func (dst *Float8) DecodeBinary(ci *ConnInfo, src []byte) error { } if len(src) != 8 { - return fmt.Errorf("invalid length for float4: %v", len(src)) + return fmt.Errorf("invalid length for float8: %v", len(src)) } n := int64(binary.BigEndian.Uint64(src))