From 009c628b4d3a34b4b0ad1ad4aeef07a698931949 Mon Sep 17 00:00:00 2001 From: qmuntal Date: Thu, 3 Aug 2023 10:07:21 +0200 Subject: [PATCH] time: amend time resolution docs Updates #44343 Change-Id: Id1497f0236fe7b4937e64877fa943329e280d192 Reviewed-on: https://go-review.googlesource.com/c/go/+/515495 Reviewed-by: Michael Knyszek Run-TryBot: Quim Muntal Reviewed-by: Ian Lance Taylor TryBot-Result: Gopher Robot --- src/time/time.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/time/time.go b/src/time/time.go index 26872b1c05..00c6d6423f 100644 --- a/src/time/time.go +++ b/src/time/time.go @@ -83,9 +83,7 @@ // and the underlying hardware. // On Unix, the resolution is approximately 1ms. // On Windows, the default resolution is approximately 16ms, but -// a lower resolution may be requested using [timeBeginPeriod]. -// -// [timeBeginPeriod]: https://learn.microsoft.com/en-us/windows/win32/api/timeapi/nf-timeapi-timebeginperiod +// a higher resolution may be requested using [golang.org/x/sys/windows.TimeBeginPeriod]. package time import ( -- 2.50.0