Skip to content

Commit cb17e53

Browse files
committed
chore: make lint happy
1 parent 927a3f1 commit cb17e53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/binary/builder.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ func (b *Builder) WriteU8(v uint8) *Builder {
162162
func writeint[T ~uint16 | ~uint32 | ~uint64](b *Builder, v T) *Builder {
163163
buf := make([]byte, 8)
164164
binary.BigEndian.PutUint64(buf, uint64(v))
165-
b.Write(buf[8-unsafe.Sizeof(v):])
165+
_, _ = b.Write(buf[8-unsafe.Sizeof(v):])
166166
return b
167167
}
168168

0 commit comments

Comments
 (0)