Documentation
¶
Index ¶
Constants ¶
View Source
const ( Windows = "windows" Linux = "linux" Darwin = "darwin" AMD64 = "amd64" ARM64 = "arm64" )
Variables ¶
View Source
var ( AMD64Architectures = []string{"amd64", "x86_64", "64bit", "x64", "x86", "64-bit", "x86-64"} ARM64Architectures = []string{"arm64", "aarch64", "armv8-a", "arm64-bit"} )
Functions ¶
This section is empty.
Types ¶
type OS ¶
type OS struct {
Name string
Arch string
Aliases []string
Architectures []string
Extensions []string
}
func (*OS) GetArchitecture ¶
func (*OS) GetArchitectures ¶
func (*OS) GetExtensions ¶
func (*OS) InvalidArchitectures ¶
Click to show internal directories.
Click to hide internal directories.