]> Cypherpunks repositories - gostls13.git/commit
cmd: use internal/syscall/windows to get Windows version
authorqmuntal <quimmuntal@gmail.com>
Mon, 28 Oct 2024 13:24:10 +0000 (14:24 +0100)
committerQuim Muntal <quimmuntal@gmail.com>
Mon, 28 Oct 2024 20:02:54 +0000 (20:02 +0000)
commit3387be0eb1794307565cfabf440c5e82332d38c4
treefa0d5fee16b85f4b21cee3d261eb0f5600e54d09
parent201b9f6d6b46e0ae311e8a8b2cbe2ad6652f5680
cmd: use internal/syscall/windows to get Windows version

internal/syscall/windows already provides a function to get the Windows
version. There is no need to use golang.org/x/sys/windows for this.

Change-Id: If31e9c662b10716ed6c3e9054604366e494345cf
Reviewed-on: https://go-review.googlesource.com/c/go/+/622815
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
src/cmd/go/internal/telemetrystats/version_windows.go
src/cmd/internal/osinfo/os_windows.go
src/internal/syscall/windows/version_windows.go