| commit | 2b4e43900c03fd6b77109b7b2b6d77583f48bc1c | [log] [tgz] |
|---|---|---|
| author | mohanson <mohanson@outlook.com> | Fri Sep 12 15:02:34 2025 +0800 |
| committer | Sean Liao <sean@liao.dev> | Tue Sep 16 16:29:52 2025 -0700 |
| tree | 739c6f0a0c842ab0d6e197ca956aba4bcd8092a6 | |
| parent | c0b0320d156bbe60202a475fa80cc0b9d0f05e20 [diff] |
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>
This repository provides supplementary Go time packages.
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.