Browse Source

text null

ls 4 năm trước cách đây
mục cha
commit
cc1a752eef
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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