Skip to content

Commit

Permalink
revive enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
asmyasnikov committed Dec 30, 2023
1 parent a27bc09 commit c642118
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,6 @@ linters:
- paralleltest
- promlinter
- protogetter
- revive
- scopelint
- structcheck
- tagalign
Expand Down
6 changes: 3 additions & 3 deletions internal/value/value.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ func BigEndianUint128(hi, lo uint64) (v [16]byte) {
}

func FromYDB(t *Ydb.Type, v *Ydb.Value) Value {
if vv, err := fromYDB(t, v); err != nil {
vv, err := fromYDB(t, v)
if err != nil {
panic(err)
} else {
return vv
}
return vv
}

func nullValueFromYDB(x *Ydb.Value, t Type) (_ Value, ok bool) {
Expand Down

0 comments on commit c642118

Please sign in to comment.