Update dependencies

This commit is contained in:
bluepython508
2024-11-01 17:33:34 +00:00
parent 033ac0b400
commit 5cdfab398d
3596 changed files with 1033483 additions and 259 deletions

22
vendor/github.com/josharian/native/endian_generic.go generated vendored Normal file
View File

@@ -0,0 +1,22 @@
package native
import (
"encoding/binary"
"golang.org/x/sys/cpu"
)
var Endian binary.ByteOrder
// IsBigEndian records whether the GOARCH's byte order is big endian.
//
// Deprecated: use golang.org/x/sys/cpu.IsBigEndian instead, now that it exists.
const IsBigEndian = cpu.IsBigEndian
func init() {
if IsBigEndian {
Endian = binary.BigEndian
} else {
Endian = binary.LittleEndian
}
}