Versions in this module Expand all Collapse all v0 v0.1.0 Jul 22, 2026 Changes in this version + func GetKernelVersion() (string, error) — linux/amd64 + type Family string + const Darwin + const Linux + const Unknown + const Windows + type Info struct + Arch string + Family Family + Kernel string + Linux *LinuxInfo + Name string + Raw map[string]string + Version string + Windows *WindowsInfo + func GetInfo() *Info + type LinuxInfo struct + Codename string + Distro string + DistroLike string + Kernel string + PrettyName string + VersionID string + type OSReleaseInfo map[string]string — linux/amd64 + func ParseRelease() (OSReleaseInfo, error) + func (o OSReleaseInfo) GetField(key, defaultValue string) string + func (o OSReleaseInfo) GetID() string + func (o OSReleaseInfo) GetPrettyName() string + func (o OSReleaseInfo) GetVersion() string + func (o OSReleaseInfo) GetVersionID() string + type WindowsInfo struct + Build string + DisplayVersion string + Edition string + IsServer bool + ProductName string