osinfo

package
v1.46.1 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2023 License: Apache-2.0, BSD-3-Clause, Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package osinfo provides information about the current operating system release

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OSName

func OSName() string

OSName returns the name of the operating system, including the distribution for Linux when possible.

func OSVersion

func OSVersion() string

OSVersion returns the operating system release, e.g. major/minor version number and build ID.

Types

This section is empty.

Jump to

Keyboard shortcuts

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