From 19947cc4c075ce937cf5a99b33671b9801b2b3bf Mon Sep 17 00:00:00 2001 From: marloploemen Date: Mon, 12 Aug 2024 09:09:00 +0200 Subject: [PATCH] fix lint --- gen/gen.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gen/gen.go b/gen/gen.go index b5583b3..fd9197d 100644 --- a/gen/gen.go +++ b/gen/gen.go @@ -159,7 +159,7 @@ func WithPackageDoc(text string) OptsFunc { } } -// LogicalType used when the name of the "LogicalType" field in the Avro schema matches the Name attribute +// LogicalType used when the name of the "LogicalType" field in the Avro schema matches the Name attribute. type LogicalType struct { // Name of the LogicalType Name string @@ -171,7 +171,7 @@ type LogicalType struct { ThirdPartyImport string } -// WithLogicalType registers a LogicalType which takes precedence over the default logical types defined by this package +// WithLogicalType registers a LogicalType which takes precedence over the default logical types defined by this package. func WithLogicalType(logicalType LogicalType) OptsFunc { return func(g *Generator) { if g.logicalTypes == nil {