Skip to content

Commit

Permalink
Made linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
stampy88 committed Apr 4, 2024
1 parent 478735e commit 4c7f21e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions codec_native.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ func createDecoderOfNative(schema *PrimitiveSchema, typ reflect2.Type) ValDecode
return &longCodec[int64]{}

case lt != "":
return &errorDecoder{err: fmt.Errorf("avro: %s is unsupported for Avro %s and logicalType %s", typ.String(), schema.Type(), lt)}
return &errorDecoder{err: fmt.Errorf("avro: %s is unsupported for Avro %s and logicalType %s",
typ.String(), schema.Type(), lt)}

default:
break
Expand Down Expand Up @@ -239,7 +240,8 @@ func createEncoderOfNative(schema Schema, typ reflect2.Type) ValEncoder {
return &longCodec[int64]{}

case lt != "":
return &errorEncoder{err: fmt.Errorf("avro: %s is unsupported for Avro %s and logicalType %s", typ.String(), schema.Type(), lt)}
return &errorEncoder{err: fmt.Errorf("avro: %s is unsupported for Avro %s and logicalType %s",
typ.String(), schema.Type(), lt)}

default:
break
Expand Down

0 comments on commit 4c7f21e

Please sign in to comment.