Skip to content

Commit 891d4a0

Browse files
committed
Update comment
1 parent 6b7cf41 commit 891d4a0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

internal/dinosql/gen.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,9 @@ func (r Result) goInnerType(col core.Column) string {
552552
return "sql.NullFloat64" // TODO: Change to sql.NullFloat32 after updating the go.mod file
553553

554554
case "pg_catalog.numeric":
555-
// The Go standard library does not have a decimal type. lib/pq returns these types as ???
555+
// Since the Go standard library does not have a decimal type, lib/pq
556+
// returns numerics as strings.
557+
//
556558
// https://github.com/lib/pq/issues/648
557559
if notNull {
558560
return "string"

0 commit comments

Comments
 (0)