Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type OperatingSystem ¶
type OperatingSystem string
const ( Linux_64_86 OperatingSystem = "linux-amd64" Linux_arm64 OperatingSystem = "linux-arm64" Darwin_64_86 OperatingSystem = "darwin-amd64" Darwin_arm64 OperatingSystem = "darwin-arm64" Windows_64_86 OperatingSystem = "windows-amd64" Windows_arm64 OperatingSystem = "windows-arm64" )
func GetOperatingSystem ¶
func GetOperatingSystem() (*OperatingSystem, error)
func GetOperatingSystemWindows ¶
func GetOperatingSystemWindows() (*OperatingSystem, error)
func OSFromEchoProcessor ¶
func OSFromEchoProcessor(output string) (*OperatingSystem, error)
func OSFromUnameA ¶
func OSFromUnameA(unameA string) (*OperatingSystem, error)
Click to show internal directories.
Click to hide internal directories.