diff options
| author | qmuntal <quimmuntal@gmail.com> | 2023-08-03 10:07:21 +0200 |
|---|---|---|
| committer | Quim Muntal <quimmuntal@gmail.com> | 2023-08-07 09:46:38 +0000 |
| commit | 009c628b4d3a34b4b0ad1ad4aeef07a698931949 (patch) | |
| tree | 7296274b85fbdebf4fa7fdffe6bce92f9526282e /src | |
| parent | 6f1b895daf66c1055a270527faad3a70b42fd0fc (diff) | |
| download | go-009c628b4d3a34b4b0ad1ad4aeef07a698931949.tar.xz | |
time: amend time resolution docs
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>
Diffstat (limited to 'src')
| -rw-r--r-- | src/time/time.go | 4 |
1 files changed, 1 insertions, 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 ( |
