Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Is64Bit ¶
func Is64Bit() bool
Is64Bit returns whether the current CPU architecture is 64-bit. Is64Bit 返回当前 CPU 架构是否为 64 位。
func IsArm ¶
func IsArm() bool
IsArm returns whether the current CPU architecture is ARM. IsArm 返回当前 CPU 架构是否为 ARM。
func IsDarwin ¶
func IsDarwin() bool
IsDarwin returns whether the current operating system is Darwin. IsDarwin 返回当前操作系统是否为 Darwin。
func IsLinux ¶
func IsLinux() bool
IsLinux returns whether the current operating system is Linux. IsLinux 返回当前操作系统是否为 Linux。
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.