Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Emptyless committed Aug 12, 2024
1 parent 7179c45 commit 19947cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gen/gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 {
Expand Down

0 comments on commit 19947cc

Please sign in to comment.