Skip to content

Commit 58f655e

Browse files
committed
address linter complaints
1 parent 705cd45 commit 58f655e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

lz4/lz4.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ package lz4
2727
import (
2828
"encoding/binary"
2929
"fmt"
30+
3031
"github.com/pierrec/lz4/v4"
3132
)
3233

marshal.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2603,7 +2603,7 @@ func unmarshalUDT(info TypeInfo, data []byte, value interface{}) error {
26032603
f, ok := fields[e.Name]
26042604
if !ok {
26052605
f = k.FieldByName(e.Name)
2606-
if f == emptyValue {
2606+
if f == emptyValue { //nolint:govet // there is no other way to compare with empty value
26072607
// skip fields which exist in the UDT but not in
26082608
// the struct passed in
26092609
continue

0 commit comments

Comments
 (0)