Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BigSur = Version{ OSName: "macOS", Name: "Big Sur", Version: "11", DarwinVersion: 20, }
View Source
var Catalina = Version{ OSName: "macOS", Name: "Catalina", Version: "10.15", DarwinVersion: 19, }
View Source
var ElCapitan = Version{ OSName: "OS X", Name: "El Capitan", Version: "10.11", DarwinVersion: 15, }
View Source
var HighSierra = Version{ OSName: "macOS", Name: "High Sierra", Version: "10.13", DarwinVersion: 17, }
View Source
var Mojave = Version{ OSName: "macOS", Name: "Mojave", Version: "10.14", DarwinVersion: 18, }
View Source
var Monterey = Version{ OSName: "macOS", Name: "Monterey", Version: "12", DarwinVersion: 21, }
View Source
var Sierra = Version{ OSName: "macOS", Name: "Sierra", Version: "10.12", DarwinVersion: 16, }
View Source
var Sonoma = Version{ OSName: "macOS", Name: "Sonoma", Version: "14", DarwinVersion: 23, }
View Source
var Ventura = Version{ OSName: "macOS", Name: "Ventura", Version: "13", DarwinVersion: 22, }
Functions ¶
This section is empty.
Types ¶
type Darwin ¶
type Darwin int
const ( DarwinUnknown Darwin = iota - 1 DarwinJaguar Darwin = iota + 5 DarwinPanther DarwinTiger DarwinLeopard DarwinSnowLeopard DarwinLion DarwinMountainLion DarwinMavericks DarwinYosemite DarwinElCapitan DarwinSierra DarwinHighSierra DarwinMojave DarwinCatalina DarwinBigSur DarwinMonterey DarwinVentura DarwinSonoma )
type Version ¶
func (Version) Supports32Bit ¶
Supports32Bit reports whether the version supports 32-bit applications.
func (Version) Supports64Bit ¶
Supports64Bit reports whether the version supports 64-bit applications.
func (Version) SupportsARM ¶
SupportsARM reports whether the version supports ARM applications.
Click to show internal directories.
Click to hide internal directories.