]> Cypherpunks.ru repositories - gostls13.git/commitdiff
time: amend time resolution docs
authorqmuntal <quimmuntal@gmail.com>
Thu, 3 Aug 2023 08:07:21 +0000 (10:07 +0200)
committerQuim Muntal <quimmuntal@gmail.com>
Mon, 7 Aug 2023 09:46:38 +0000 (09:46 +0000)
Updates #44343

Change-Id: Id1497f0236fe7b4937e64877fa943329e280d192
Reviewed-on: https://go-review.googlesource.com/c/go/+/515495
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Run-TryBot: Quim Muntal <quimmuntal@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>

src/time/time.go

index 26872b1c054772f4406fe6a00dc468db72d6e475..00c6d6423f950a82987a551acb0b89f6c0b5b8ff 100644 (file)
@@ -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 (