rate: Add SetBurst() to dynamically update burst size This commit adds the ability to dynamically update burst size. Fixes golang/go#23575 Signed-off-by: Simarpreet Singh <simar@linux.com> Change-Id: I40da9ffdb108dee6ad15efb8700e3ae60d1169d9 Reviewed-on: https://go-review.googlesource.com/c/time/+/184082 Reviewed-by: Sameer Ajmani <sameer@golang.org> Run-TryBot: Sameer Ajmani <sameer@golang.org> TryBot-Result: Gobot Gobot <gobot@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.