Documentation
¶
Overview ¶
Package kversion fetches the linux kernel version, and parse them with semantic versioning.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Version ¶
type Version uint64
Version stores the kernel version using semantic versioning, but converted to a 64bit numeric value.
var Current Version
Current is the version retrieved when the process has just been initialized.
func (Version) PreRelease ¶
PreRelease returns the value of the pre-release version.
Click to show internal directories.
Click to hide internal directories.