Skip to content

Commit

Permalink
Fix typo in float8
Browse files Browse the repository at this point in the history
  • Loading branch information
breakbuidl authored and jackc committed Feb 1, 2022
1 parent ccc7cc2 commit 94e10b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion float8.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 94e10b9

Please sign in to comment.