// GetInfoParams returns information about the system.
typeGetInfoParamsstruct{}
// GetInfo returns information about the system.
funcGetInfo()*GetInfoParams{
return&GetInfoParams{}
}
// GetInfoReturns return values.
typeGetInfoReturnsstruct{
Gpu*GPUInfo`json:"gpu,omitempty"`// Information about the GPUs on the system.
ModelNamestring`json:"modelName,omitempty"`// A platform-dependent description of the model of the machine. On Mac OS, this is, for example, 'MacBookPro'. Will be the empty string if not supported.
ModelVersionstring`json:"modelVersion,omitempty"`// A platform-dependent description of the version of the machine. On Mac OS, this is, for example, '10.1'. Will be the empty string if not supported.
// gpu - Information about the GPUs on the system.
// modelName - A platform-dependent description of the model of the machine. On Mac OS, this is, for example, 'MacBookPro'. Will be the empty string if not supported.
// modelVersion - A platform-dependent description of the version of the machine. On Mac OS, this is, for example, '10.1'. Will be the empty string if not supported.