Next Release Notes Draft
DRAFT RELEASE NOTES — Introduction to Go 1.26
Go 1.26 is not yet released. These are work-in-progress release notes. Go 1.26 is expected to be released in February 2026.
Tools
Go command
cmd/doc
, and go tool doc
have been deleted. go doc
can be used as
a replacement for go tool doc
: it takes the same flags and arguments and
has the same behavior.
Standard library
Minor changes to the library
go/types
The Var.Kind
method returns an enumeration of type VarKind
that
classifies the variable (package-level, local, receiver, parameter,
result, or struct field). See issue #70250.
Callers of NewVar
or NewParam
are encouraged to call Var.SetKind
to ensure that this attribute is set correctly in all cases.