package
module
Version:
v0.0.0-...-1e6be0b
Opens a new window with list of versions in this module.
Published: Feb 12, 2026
License: MIT
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 49
Opens a new window with list of known importers.
Documentation
¶
MapArchitecture converts an OS-reported architecture name to GOARCH format.
Returns empty string if the architecture is not recognized.
Reserve `size` bytes of space for f, in the
quickest way possible. f must be opened with O_RDWR.
these coincide with the namings used in the itch.io backend
type Runtime struct {
Platform Platform `json:"platform"`
Is64 bool `json:"is64"`
Architecture string `json:"arch,omitempty"`
}
Runtime describes an os-arch combo in a convenient way
Arch returns the architecture in GOARCH format
OS returns the operating system in GOOS format
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.