commit | 89c76fbcd5d1cd4969e5d2fe19d48b19d5ad94a0 | [log] [tgz] |
---|---|---|
author | Obeyda Djeffal <djefobey@gmail.com> | Wed Apr 15 19:10:59 2020 +0100 |
committer | Andrew Bonventre <andybons@golang.org> | Thu Apr 16 05:12:11 2020 +0000 |
tree | fa3b5626a6dc0184d609e25043ff605ba33ebad6 | |
parent | 555d28b269f0569763d25dbe1a237ae74c6bcc82 [diff] |
rate: fix documentation of Limiter.ReserveN() Update documentation string to mention that the returned Reservation's OK() method returns false if n exceeds the Limiter's burst size. Fixes golang/go#38434 Change-Id: Ic549100189caad2ae6cda8379bfd8fa04b02c415 Reviewed-on: https://go-review.googlesource.com/c/time/+/228357 Run-TryBot: Andrew Bonventre <andybons@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Andrew Bonventre <andybons@golang.org>
This repository provides supplementary Go time packages.
The easiest way to install is to run go get -u golang.org/x/time
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/time
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the time repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/time:” in the subject line, so it is easy to find.