Documentation ¶ Index ¶ type OS func GetOSInfo() (osInfo *OS) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type OS ¶ type OS struct { Name string `json:"name,omitempty"` Vendor string `json:"vendor,omitempty"` Version string `json:"version,omitempty"` Release string `json:"release,omitempty"` Architecture string `json:"architecture,omitempty"` } OS information. func GetOSInfo ¶ func GetOSInfo() (osInfo *OS) GetOSInfo return os information Source Files ¶ View all Source files os.go util.go Click to show internal directories. Click to hide internal directories.