distribution

package
v1.2.41 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Distribution

type Distribution int
const (
	Windows Distribution = iota
	Ubuntu
	Redhat
	Centos
	Butt
)

func (Distribution) String

func (d Distribution) String() string

type Distributioner

type Distributioner interface {
	String() string
}

func GetOSVersion

func GetOSVersion() Distributioner

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL