From 4c7f21efffd128aba5865bfc47ea78007471558a Mon Sep 17 00:00:00 2001 From: dave sinclair Date: Thu, 4 Apr 2024 15:32:28 -0400 Subject: [PATCH] Made linter happy --- codec_native.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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