Versions in this module Expand all Collapse all v0 v0.2.1 Oct 7, 2014 Changes in this version + func CompareKernelVersion(a, b *KernelVersionInfo) int + type KernelVersionInfo struct + Flavor string + Kernel int + Major int + Minor int + func GetKernelVersion() (*KernelVersionInfo, error) + func ParseRelease(release string) (*KernelVersionInfo, error) + func (k *KernelVersionInfo) String() string + type Utsname struct — darwin/amd64, js/wasm, windows/amd64 + Release [65]byte + type Utsname syscall.Utsname — linux/amd64