Package kernel provides helper function to get, parse and compare kernel versions for different platforms.
This section is empty.
This section is empty.
func CheckKernelVersion(k, major, minor int) bool
CheckKernelVersion checks if current kernel is newer than (or equal to) the given version.
CompareKernelVersion compares two kernel.VersionInfo structs. Returns -1 if a < b, 0 if a == b, 1 it a > b
VersionInfo holds information about the kernel.
GetKernelVersion gets the current kernel version.
ParseRelease parses a string and creates a VersionInfo based on it.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4