diff --git a/codec_native.go b/codec_native.go index 5448591..8e9f9fc 100644 --- a/codec_native.go +++ b/codec_native.go @@ -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 @@ -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