package
Version:
v0.0.0-...-d459dd1
Opens a new window with list of versions in this module.
Published: Oct 1, 2022
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package distro detects the Linux distribution.
Distro represents a distribution of Linux system.
const (
Arch Distro = iota + 1
CentOS
Debian
Fedora
Gentoo
Mageia
OpenSUSE
PCLinuxOS
Slackware
Ubuntu
)
Most used Linux distributions.
Detect returns the Linux distribution.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.