소스 검색

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