瀏覽代碼

text null

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