chore: use Go1.26
Build / Build (push) Has been cancelled

This commit is contained in:
nadoo committed 2026-06-26 00:58:58 +08:00
1 parent e7b12e36a9
commit 38b34030bc
11 files changed
+13 -36

No files matched your search

+1 -4
View File
@@ -151,10 +151,7 @@ func (r *frameReader) Read(b []byte) (int, error) {
}
}
readLen := int64(len(b))
if readLen > r.left {
readLen = r.left
}
readLen := min(int64(len(b)), r.left)
m, err := io.ReadFull(r.Reader, b[:readLen])
if err != nil {