]> Cypherpunks repositories - gostls13.git/commit
internal/syscall/windows: unexport Version
authorqmuntal <quimmuntal@gmail.com>
Fri, 8 Mar 2024 08:37:29 +0000 (09:37 +0100)
committerQuim Muntal <quimmuntal@gmail.com>
Fri, 8 Mar 2024 22:14:32 +0000 (22:14 +0000)
commitc220fbabd517ed66cb77e148aa015a80964ddcc4
treea1cf1577e7d15cf807eefdc8d30775dd8d2acfd8
parent336617186a6c01a1874685d4577042ab007609ea
internal/syscall/windows: unexport Version

windows.Version is just a thin wrapper around RtlGetNtVersionNumbers,
which is an undocumented Windows API.

This CL unexports windows.Version so it is harder to use by accident.

Change-Id: Ib782da04e4e8be66970111a75f5c2df27ef51643
Reviewed-on: https://go-review.googlesource.com/c/go/+/570055
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
src/internal/syscall/windows/version_windows.go