1 2 3 4 5 6 7 8
// +build !linux,!windows package system // ReadMemInfo is not supported on platforms other than linux and windows. func ReadMemInfo() (*MemInfo, error) { return nil, ErrNotSupportedPlatform }