Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsBigEndian ¶
func IsBigEndian(archFamily ArchFamilyType) bool
Types ¶
type ArchFamilyType ¶
type ArchFamilyType int
const ( AMD64 ArchFamilyType = iota ARM ARM64 I386 MIPS MIPS64 PPC64 S390X WASM UnkownArchFamily )
func GetArchFamily ¶
func GetArchFamily() ArchFamilyType
type OSFamilyType ¶
type OSFamilyType int
const ( Linux OSFamilyType = iota Android Windows Darwin Solaris Plan9 FreeBSD OpenBSD NetBSD NACL AIX DragonFly UnkownOSFamily )
func GetOSFamily ¶
func GetOSFamily() OSFamilyType
type PlatformInfo ¶
type PlatformInfo struct { OSFamily OSFamilyType OS string ArchFamily ArchFamilyType Arch string BigEndian bool }
func GetPlatformInfo ¶
func GetPlatformInfo() PlatformInfo
Click to show internal directories.
Click to hide internal directories.