osinfo

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package osinfo reports a human-readable operating-system version string. It is the single shared implementation behind the telemetry OS field and the doctor report support bundle, so neither has to import the other's internals.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Version

func Version() string

Version returns a human-readable OS version string. On Linux it reports the kernel version from /proc/version; on every other platform — and whenever /proc/version cannot be read — it falls back to runtime.GOOS.

Types

This section is empty.

Jump to

Keyboard shortcuts

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