From 7ec8d7b3434b3e763f6b6e7eacbc4bdb97a707f6 Mon Sep 17 00:00:00 2001 From: Jack Christensen Date: Mon, 13 Mar 2017 20:23:17 -0500 Subject: [PATCH] Fix error message for hstore --- pgtype/hstore.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pgtype/hstore.go b/pgtype/hstore.go index 11bfb9a7..c48ae6da 100644 --- a/pgtype/hstore.go +++ b/pgtype/hstore.go @@ -29,7 +29,7 @@ func (dst *Hstore) Set(src interface{}) error { } *dst = Hstore{Map: m, Status: Present} default: - return fmt.Errorf("cannot convert %v to Tid", src) + return fmt.Errorf("cannot convert %v to Hstore", src) } return nil