Versions in this module Expand all Collapse all v1 v1.3.0 Oct 15, 2014 v1.2.0 Aug 20, 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