Versions in this module Expand all Collapse all go1 go1.26.0 Feb 10, 2026 Changes in this version + const ParseSize — darwin/amd64, js/wasm, windows/amd64 + const PathSize — darwin/amd64, js/wasm, windows/amd64 + const ScratchSize — darwin/amd64, js/wasm, windows/amd64 + var ErrNoCgroup error = stringError("not in a cgroup") — darwin/amd64, js/wasm, windows/amd64 type Version — linux/amd64 + func FindCPUCgroup(out []byte, scratch []byte) (int, Version, error) + type Version int — darwin/amd64, js/wasm, windows/amd64 + const V1 + const V2 + const VersionUnknown go1.26rc3 Feb 4, 2026 go1.26rc2 Jan 15, 2026 go1.26rc1 Dec 16, 2025 go1.25.7 Feb 4, 2026 go1.25.6 Jan 15, 2026 go1.25.5 Dec 2, 2025 go1.25.4 Nov 5, 2025 go1.25.3 Oct 13, 2025 go1.25.2 Oct 7, 2025 go1.25.1 Sep 3, 2025 go1.25.0 Aug 12, 2025 Changes in this version + const ParseSize — linux/amd64 + const PathSize — linux/amd64 + const ScratchSize — linux/amd64 + var ErrNoCgroup error = stringError("not in a cgroup") — linux/amd64 + func FindCPUMountPoint(out []byte, scratch []byte) (int, error) — linux/amd64 + func ReadCPULimit(c CPU) (float64, bool, error) — linux/amd64 + type CPU struct — linux/amd64 + func OpenCPU(scratch []byte) (CPU, error) + func (c CPU) Close() + type Version int — linux/amd64 + const V1 + const V2 + const VersionUnknown + func FindCPU(out []byte, scratch []byte) (int, Version, error) + func FindCPURelativePath(out []byte, scratch []byte) (int, Version, error) go1.25rc3 Aug 6, 2025 go1.25rc2 Jul 8, 2025 go1.25rc1 Jun 11, 2025