From 57b149e8e9c1b281bda368c9dff272ef756c709e Mon Sep 17 00:00:00 2001 From: Jack Christensen Date: Sat, 13 Apr 2019 18:06:09 -0500 Subject: [PATCH] Remove unused scan float into numeric --- pgtype/numeric.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pgtype/numeric.go b/pgtype/numeric.go index 91aff123..887ad1f8 100644 --- a/pgtype/numeric.go +++ b/pgtype/numeric.go @@ -568,10 +568,6 @@ func (dst *Numeric) Scan(src interface{}) error { } switch src := src.(type) { - case float64: - // TODO - // *dst = Numeric{Float: src, Status: Present} - return nil case string: return dst.DecodeText(nil, []byte(src)) case []byte: