1
0
mirror of https://github.com/golang/time synced 2020-06-03 17:03:47 +00:00
Go to file
Obeyda Djeffal 89c76fbcd5 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>
2020-04-16 05:12:11 +00:00
rate rate: fix documentation of Limiter.ReserveN() 2020-04-16 05:12:11 +00:00
AUTHORS initial commit 2015-11-03 17:27:42 +11:00
CONTRIBUTING.md CONTRIBUTING.md: remove note about not accepting Pull Requests 2018-03-14 18:02:08 +00:00
CONTRIBUTORS initial commit 2015-11-03 17:27:42 +11:00
go.mod all: add a go.mod file 2019-03-08 20:28:27 +00:00
LICENSE initial commit 2015-11-03 17:27:42 +11:00
PATENTS initial commit 2015-11-03 17:27:42 +11:00
README.md README: add better links, Markdown 2017-09-27 05:47:26 +00:00

Go Time

This repository provides supplementary Go time packages.

Download/Install

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.

Report Issues / Send Patches

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.