Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsBigSurOrNewer ¶
func IsBigSurOrNewer() bool
IsBigSurOrNewer checks whether the host is macOS BigSur 10.16.x or higher.
func IsCatalinaOrNewer ¶
func IsCatalinaOrNewer() bool
IsCatalinaOrNewer checks whether the host is macOS Catalina 10.15.x or higher.
func IsVenturaOrNewer ¶ added in v2.3.0
func IsVenturaOrNewer() bool
IsVenturaOrNewer checks whether the host is macOS BigSur 13.x or higher.
Types ¶
type UserAgent ¶
type UserAgent struct {
// contains filtered or unexported fields
}
func (*UserAgent) SetPlatform ¶
Click to show internal directories.
Click to hide internal directories.