Skip to content

Commit 5989321

Browse files
author
Marcin Belczewski
committed
fix: golangci-lint unparam
1 parent 91c2dac commit 5989321

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/framework/flex/autoflex.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ type fuzzyFieldFinder struct {
7474
suffixRecursionDepth int
7575
}
7676

77-
func (fff *fuzzyFieldFinder) findField(ctx context.Context, fieldNameFrom string, typeFrom reflect.Type, typeTo reflect.Type, flexer autoFlexer) (reflect.StructField, bool) {
77+
func (fff *fuzzyFieldFinder) findField(ctx context.Context, fieldNameFrom string, typeFrom reflect.Type, typeTo reflect.Type, flexer autoFlexer) (reflect.StructField, bool) { //nolint:unparam
7878
// first precedence is exact match (case sensitive)
7979
if fieldTo, ok := typeTo.FieldByName(fieldNameFrom); ok {
8080
return fieldTo, true

0 commit comments

Comments
 (0)