// KernelVersion returns major and minor kernel version numbers // parsed from the syscall.Uname's Release field, or (0, 0) if // the version can't be obtained or parsed. func KernelVersion() (major, minor int) { … }
// KernelVersion returns major and minor kernel version numbers // parsed from the syscall.Uname's Release field, or (0, 0) if // the version can't be obtained or parsed. func KernelVersion() (major, minor int) { … }