ls %!s(int64=4) %!d(string=hai) anos
pai
achega
cc1a752eef
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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