ls 4 سال پیش
والد
کامیت
cc1a752eef
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      types/string.go

+ 1 - 1
types/string.go

@@ -34,7 +34,7 @@ func (s *TextNull) Scan(src interface{}) error {
 	case nil:
 		*s = TextNull("")
 	default:
-		return errors.New("Incompatible type for JSONText")
+		return errors.New("bad []byte type assertion")
 	}
 	return nil