From 95301ea2767c88e3ac47b2da1bf61e8f71d8cf32 Mon Sep 17 00:00:00 2001 From: Jack Christensen Date: Fri, 11 Jul 2014 15:25:40 -0500 Subject: [PATCH] Correct Null* docs --- values.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/values.go b/values.go index ea86556f..77edfb22 100644 --- a/values.go +++ b/values.go @@ -67,7 +67,7 @@ type BinaryEncoder interface { EncodeBinary(w *WriteBuf) error } -// NullFloat32 represents an smallint that may be null. +// NullFloat32 represents an float4 that may be null. // NullFloat32 implements the Scanner, TextEncoder, and BinaryEncoder interfaces // so it may be used both as an argument to Query[Row] and a destination for // Scan for prepared and unprepared queries. @@ -105,7 +105,7 @@ func (n NullFloat32) EncodeBinary(w *WriteBuf) error { return encodeFloat4(w, n.Float32) } -// NullFloat64 represents an smallint that may be null. +// NullFloat64 represents an float8 that may be null. // NullFloat64 implements the Scanner, TextEncoder, and BinaryEncoder interfaces // so it may be used both as an argument to Query[Row] and a destination for // Scan for prepared and unprepared queries. @@ -143,7 +143,7 @@ func (n NullFloat64) EncodeBinary(w *WriteBuf) error { return encodeFloat8(w, n.Float64) } -// NullString represents an integer that may be null. NullString implements +// NullString represents an string that may be null. NullString implements // the Scanner and TextEncoder interfaces so it may be used both as an // argument to Query[Row] and a destination for Scan for prepared and // unprepared queries. @@ -210,7 +210,7 @@ func (n NullInt16) EncodeBinary(w *WriteBuf) error { return encodeInt2(w, n.Int16) } -// NullInt32 represents an smallint that may be null. +// NullInt32 represents an integer that may be null. // NullInt32 implements the Scanner, TextEncoder, and BinaryEncoder interfaces // so it may be used both as an argument to Query[Row] and a destination for // Scan for prepared and unprepared queries. @@ -286,7 +286,7 @@ func (n NullInt64) EncodeBinary(w *WriteBuf) error { return encodeInt8(w, n.Int64) } -// NullBool represents an bigint that may be null. +// NullBool represents an bool that may be null. // NullBool implements the Scanner, TextEncoder, and BinaryEncoder interfaces // so it may be used both as an argument to Query[Row] and a destination for // Scan for prepared and unprepared queries.