From: qmuntal Date: Thu, 3 Aug 2023 08:07:21 +0000 (+0200) Subject: time: amend time resolution docs X-Git-Tag: go1.22rc1~1391 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=009c628b4d3a34b4b0ad1ad4aeef07a698931949;p=gostls13.git 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 --- 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 (