rate: use time.Time.Equal instead of ==

According to the Time Type documentation, in most cases, it is better
to use Equal instead of ==


Change-Id: I201de68ee163a06cf9ed49f7b77a2de031dbdd95
Reviewed-on: https://go-review.googlesource.com/c/time/+/703175
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Florian Lehner <lehner.florian86@gmail.com>
Reviewed-by: Sean Liao <sean@liao.dev>
Reviewed-by: Mark Freeman <markfreeman@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
1 file changed
tree: 739c6f0a0c842ab0d6e197ca956aba4bcd8092a6
  1. rate/
  2. CONTRIBUTING.md
  3. go.mod
  4. LICENSE
  5. PATENTS
  6. README.md
README.md

Go Time

Go Reference

This repository provides supplementary Go time packages.

Report Issues / Send Patches

This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://go.dev/doc/contribute.

The git repository is https://go.googlesource.com/time.

The main issue tracker for the time repository is located at https://go.dev/issues. Prefix your issue with “x/time:” in the subject line, so it is easy to find.