package sysinfo

import "internal/sysinfo"

Package sysinfo implements high level hardware information gathering that can be used for debugging or information purposes.

Index

Variables

var CPUName = sync.OnceValue(func() string {
	if name := cpu.Name(); name != "" {
		return name
	}

	if name := osCPUInfoName(); name != "" {
		return name
	}

	return ""
})