Versions in this module Expand all Collapse all v0 v0.1.0 Sep 7, 2023 Changes in this version + func WriteToJSON(devices []Device, dest string) error + type ByProductType struct + func (s ByProductType) Less(i, j int) bool + type Device struct + CompatibleDeviceFallback string + DeviceTrait DeviceTrait + DeviceTraitSet int + Platform string + ProductDescription string + ProductType string + Target string + TargetType string + TargetVariant string + func GetDeviceForModel(model string) (*Device, error) + func GetDeviceForProd(prod string) (*Device, error) + func GetDevices() ([]Device, error) + func ReadDeviceTraitsDB() ([]Device, error) + func (Device) TableName() string + type DeviceTrait struct + ArtworkDeviceIdiom string + ArtworkDeviceSubtype int + ArtworkDisplayGamut string + ArtworkDynamicDisplayMode string + ArtworkHostedIdioms string + ArtworkScaleFactor int + DevicePerformanceMemoryClass int + DeviceTraitSetID int + GraphicsFeatureSetClass string + GraphicsFeatureSetFallbacks string + PreferredArchitecture string + func (DeviceTrait) TableName() string + type Devices []Device + func (d Devices) Len() int + func (d Devices) Swap(i, j int)