commit | 3dc757cc6dba739b4d85d92d48bd791aab8e283c | [log] [tgz] |
---|---|---|
author | Tobias Klauser <tklauser@distanz.ch> | Mon Jun 07 12:44:11 2021 +0200 |
committer | Tobias Klauser <tobias.klauser@gmail.com> | Tue Jun 08 05:32:50 2021 +0000 |
tree | 248198fa91b71dbd263ea9f31e70dd320de9823e | |
parent | f8bda1e9f3badef837c98cbaf4f7c335de90f266 [diff] |
rate: use time.Since instead of time.Now().Sub Change-Id: I140abf9d9283edb7259c9aa13ee69f3ca33181e6 Reviewed-on: https://go-review.googlesource.com/c/time/+/325609 Trust: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@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.