From b33e82965bcf42ad672feae3699054d00c92ed94 Mon Sep 17 00:00:00 2001 From: Tobias Lindberg Date: Fri, 22 Sep 2023 13:58:40 +0200 Subject: [PATCH] updating error message --- src/NullSupport.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NullSupport.go b/src/NullSupport.go index 53f0341..478c0c4 100644 --- a/src/NullSupport.go +++ b/src/NullSupport.go @@ -58,7 +58,7 @@ func (s *NullString) Scan(value interface{}) error { } strVal, ok := value.(string) if !ok { - return errors.New("Column is not a string") + return errors.New("Value is not a string") } *s = NullString(strVal) return nil