Documentation ¶
Index ¶
Constants ¶
View Source
const ( Windows = "windows" Linux = "linux" Darwin = "darwin" FreeBSD = "freebsd" AMD64 = "amd64" ARM64 = "arm64" ARM32 = "arm32" // note: there is no such thing as arm32, but this is just to standardize the naming AMD32 = "amd32" // note: there is no such thing as amd32, but this is just to standardize the naming )
Variables ¶
View Source
var ( AMD64Architectures = []string{"amd64", "x86_64", "x86-64", "64bit", "x64", "64-bit"} ARM64Architectures = []string{"arm64", "aarch64", "armv8-a", "arm64-bit"} X86Architectures = []string{"x86", "i686", "i386"} ARM32Architectures = []string{"armv7", "armv6", "armv5", "armv4"} )
Functions ¶
This section is empty.
Types ¶
type OS ¶
type OS struct { Name string Arch string Aliases []string Architectures []string Extensions []string }
func (*OS) GetAliases ¶ added in v1.0.3
func (*OS) GetArchitecture ¶
func (*OS) GetArchitectures ¶
func (*OS) GetExtensions ¶
func (*OS) InvalidArchitectures ¶
Click to show internal directories.
Click to hide internal directories.